fix nav mobile - load alpine on all pages
This commit is contained in:
parent
362e34d3ea
commit
c27447b67d
2 changed files with 6 additions and 4 deletions
|
|
@ -11,10 +11,12 @@
|
|||
<meta name="robots" content="noindex,nofollow">
|
||||
|
||||
<!-- Alpine -->
|
||||
<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>
|
||||
|
||||
<!-- Calendar -->
|
||||
<?php if ($page->isHomePage() || $page->template() == 'event' || $page->template() == 'program'): ?>
|
||||
<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 ?>
|
||||
|
||||
|
|
|
|||
|
|
@ -95,7 +95,7 @@
|
|||
|
||||
try {
|
||||
$endTime = strlen($session['duration']) > 0 ? getEndTime($session) : false;
|
||||
} catch (\Throwable $th) {
|
||||
} catch (\Throwable $th) {https://ntb-full.adrien-payet.fr/
|
||||
throw new Exception($session['title'] .' - ' . $th->getMessage(), 1);
|
||||
}
|
||||
?>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue