Rebuild Laysense site with Webman and SQLite CMS

This commit is contained in:
2026-11-21 17:29:24 +08:00
commit d9bda755d1
99 changed files with 4280 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
<?php
use App\Content\View;
$e = View::escape(...);
?>
<section class="section section-<?= $e($section['style']) ?>" id="<?= $e($section['key']) ?>" aria-labelledby="heading-<?= $e($section['key']) ?>" <?= $moment ? 'data-moment="iris-opens"' : '' ?>>
<div class="wrap">
<div class="section-heading">
<h2 id="heading-<?= $e($section['key']) ?>"><?= $e($section['title']) ?></h2>
<?php if ($section['lead']): ?><p><?= $e($section['lead']) ?></p><?php endif ?>
</div>
<div class="rich"><?= $section['body'] ?></div>
</div>
</section>