feat: Ajout de Plausible
This commit is contained in:
parent
042029ddd7
commit
70b3ad4df0
|
@ -1,4 +1,4 @@
|
|||
FROM registry.weko.io/nginx-lowtech:0.0.9
|
||||
FROM registry.weko.io/nginx-lowtech:0.1.0
|
||||
|
||||
# Copie des sources du site
|
||||
COPY public /usr/share/nginx/html
|
||||
|
|
|
@ -35,3 +35,7 @@
|
|||
<footer class="explain">
|
||||
Ce site est réalisé par <a href="https://weko.io">Weko</a> de façon éco-responsable.
|
||||
</footer>
|
||||
{{ if or (eq hugo.Environment "production") (eq hugo.Environment "staging") }}
|
||||
<script defer data-api="/api/event" data-domain="{{if eq hugo.Environment "staging" }}staging.{{ end }}cremeaux.fr" src="/js/script.js"></script>
|
||||
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>
|
||||
{{ end }}
|
||||
|
|
Loading…
Reference in New Issue