Skip to content

Commit 0755e7c

Browse files
authored
Merge pull request #3 from styladev/st1730_hydration
ST-1730 added seo body within the styla div to allow hydration
2 parents 6a7dafa + 98489b9 commit 0755e7c

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

index.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,6 @@
105105
<div class="container">
106106
<!-- This is where the magazine will be displayed -->
107107
<?=$styla->getMagazineTag() ?>
108-
<?=$styla->getSEOBody() ?>
109108
</div>
110109
</body>
111110
</html>

styla.php

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,9 @@ public function getLPMetaTags() {
7474

7575
public function getMagazineTag() {
7676
return join([
77-
"<div id=\"stylaMagazine\"></div>"
77+
"<div id=\"stylaMagazine\">",
78+
$this->getSEOBody(),
79+
"</div>"
7880
]);
7981
}
8082

0 commit comments

Comments
 (0)