All checks were successful
Deploy Production / Deploy to Production (push) Successful in 28s
Each page template now renders its content in a visually-hidden #ssr-content div (sr-only technique) so search engine crawlers see real HTML without impacting the Svelte app layout. Shared snippets handle nav, footer contact info, and article cards. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
18 lines
510 B
PHP
18 lines
510 B
PHP
<?php snippet('header') ?>
|
|
<div id="ssr-content">
|
|
<?php snippet('ssr/nav') ?>
|
|
<main>
|
|
<h1><?= $page->title() ?></h1>
|
|
<ul>
|
|
<?php foreach ($page->children()->listed() as $game): ?>
|
|
<li>
|
|
<h2><a href="<?= $game->url() ?>"><?= $game->title() ?></a></h2>
|
|
<?php if ($game->description()->isNotEmpty()): ?>
|
|
<p><?= $game->description() ?></p>
|
|
<?php endif ?>
|
|
</li>
|
|
<?php endforeach ?>
|
|
</ul>
|
|
</main>
|
|
</div>
|
|
<?php snippet('footer') ?>
|