From e31784300a08ae8c915ff4fa1fbd037874918e05 Mon Sep 17 00:00:00 2001 From: Simon C Date: Wed, 23 Feb 2022 11:32:59 +0100 Subject: [PATCH] feat: Ajout de Plausible --- Dockerfile | 2 +- layouts/partials/js.html | 4 ++++ 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3f66d28..322c3a4 100644 --- a/Dockerfile +++ b/Dockerfile @@ -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 diff --git a/layouts/partials/js.html b/layouts/partials/js.html index 800d1ef..00f850c 100644 --- a/layouts/partials/js.html +++ b/layouts/partials/js.html @@ -4,3 +4,7 @@ {{ $js := . | resources.Minify }} {{ end }} +{{ if or (eq hugo.Environment "production") (eq hugo.Environment "staging") }} + + +{{ end }}