Skip to content

Commit

Permalink
Merge branch 'main' into cookie-banner
Browse files Browse the repository at this point in the history
  • Loading branch information
inanamm committed Aug 8, 2024
2 parents 0e12b65 + f6e982c commit 1c331bf
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
5 changes: 5 additions & 0 deletions site/config/config.preview.costruct.ch.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
<?php

return [
'analytics' => false,
];
5 changes: 5 additions & 0 deletions site/snippets/head.php
Original file line number Diff line number Diff line change
Expand Up @@ -15,4 +15,9 @@
<?php snippet('cookieconsentCss') ?>

<?= vite()->css('index.css') ?>
<?php if ($kirby->option('analytics', false)): ?>
hi boe, analytics are on!
<?php endif; ?>

<?= vite()->css('index.css') ?>
</head>

0 comments on commit 1c331bf

Please sign in to comment.