Add whole-page template collections and Caddy examples

This commit is contained in:
2026-11-22 12:07:30 +08:00
parent fda4b88959
commit 38f7083b31
31 changed files with 661 additions and 14 deletions
+2
View File
@@ -8,6 +8,7 @@ $live = count(array_filter($pages, static fn (array $page): bool => $page['statu
<h1>网站后台</h1>
<div class="actions">
<a class="button button-primary" href="/admin/new-page">新建页面</a>
<button type="button" class="button button-outline" data-open-page-templates hidden>整页模板</button>
<a class="button button-outline" href="/admin/articles/new">写文章</a>
</div>
</header>
@@ -57,3 +58,4 @@ $live = count(array_filter($pages, static fn (array $page): bool => $page['statu
</section>
</div>
</div>
<?= View::fragment('studio-page-templates', compact('token')) ?>