Skip to content

Commit

Permalink
try custom config
Browse files Browse the repository at this point in the history
  • Loading branch information
inanamm committed Aug 8, 2024
1 parent 125b1d5 commit d104e53
Show file tree
Hide file tree
Showing 2 changed files with 9 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' => true,
];
4 changes: 4 additions & 0 deletions site/snippets/head.php
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,9 @@
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="language" content="Deutsch, Francais">

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

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

0 comments on commit d104e53

Please sign in to comment.