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>
24 lines
742 B
PHP
24 lines
742 B
PHP
<?php snippet('header') ?>
|
|
<div id="ssr-content">
|
|
<?php snippet('ssr/nav') ?>
|
|
<main>
|
|
<h1><?= $page->title() ?></h1>
|
|
<?php if ($page->tagline()->isNotEmpty()): ?>
|
|
<p><?= $page->tagline() ?></p>
|
|
<?php endif ?>
|
|
<?php if ($page->description()->isNotEmpty()): ?>
|
|
<div><?= $page->description()->kt() ?></div>
|
|
<?php endif ?>
|
|
<?php if ($page->category()->isNotEmpty()): ?>
|
|
<p><?= $page->category() ?></p>
|
|
<?php endif ?>
|
|
<?php if ($page->platforms()->isNotEmpty()): ?>
|
|
<ul>
|
|
<?php foreach ($page->platforms()->split(',') as $platform): ?>
|
|
<li><?= trim($platform) ?></li>
|
|
<?php endforeach ?>
|
|
</ul>
|
|
<?php endif ?>
|
|
</main>
|
|
</div>
|
|
<?php snippet('footer') ?>
|