add sectioned template
This commit is contained in:
parent
3008e231cb
commit
b1ddfee49c
29 changed files with 297 additions and 23 deletions
|
|
@ -9,12 +9,19 @@
|
|||
|
||||
<link rel="stylesheet" type="text/css" href="<?= url('assets/css/style.css?version-cache-prevent') . rand(0, 1000) ?>">
|
||||
<meta name="robots" content="noindex,nofollow">
|
||||
<?php if ($page->isHomePage()): ?>
|
||||
<?php if ($page->isHomePage() || $page->template() == 'event'): ?>
|
||||
<script defer src="https://cdn.jsdelivr.net/npm/alpinejs@3.x.x/dist/cdn.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/dayjs.min.js"></script>
|
||||
<script src="https://cdn.jsdelivr.net/npm/dayjs@1/locale/fr.js"></script>
|
||||
<?= js('/assets/js/calendar.js') ?>
|
||||
<?php endif ?>
|
||||
<?php if ($page->color()->exists()): ?>
|
||||
<style>
|
||||
:root {
|
||||
--color-accent: <?= $page->color() ?>;
|
||||
}
|
||||
</style>
|
||||
<?php endif ?>
|
||||
</head>
|
||||
<body>
|
||||
<?php if ($page->isHomePage()): ?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue