From b55c159daaa8127bc5e072a632c36a974f9dd924 Mon Sep 17 00:00:00 2001 From: Simon C Date: Tue, 22 Feb 2022 19:09:42 +0100 Subject: [PATCH] feat(Plausible): Add script --- layouts/partials/footer.html | 5 +++-- layouts/partials/header.html | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 518db15..3b8b692 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -15,6 +15,7 @@
  • Politique de protection des données
  • -{{ if eq hugo.Environment "production" }} - +{{ if or (eq hugo.Environment "production") (eq hugo.Environment "staging") }} + + {{ end }} diff --git a/layouts/partials/header.html b/layouts/partials/header.html index ce65e06..00ccd2b 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -8,7 +8,7 @@ {{ printf "" $tag | safeHTML }}