forked from laysense/laysense.cn
Add whole-page template collections and Caddy examples
This commit is contained in:
@@ -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')) ?>
|
||||
|
||||
Reference in New Issue
Block a user