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 }}