From 9738d858fd47e0ec7fc98fcabe59a5cd63f294c6 Mon Sep 17 00:00:00 2001 From: Marcell Mars Date: Fri, 18 Dec 2020 22:41:06 +0100 Subject: [PATCH] moving to one pass with hugo.. --- layouts/partials/header.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/partials/header.html b/layouts/partials/header.html index 33c7b42..c77f7cf 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -26,7 +26,7 @@ {{ $is_in_is_in = $is_in_is_in | append ($.GetPage .) }} {{ end }} -{{ if eq hugo.Environment "preview" }} +{{ if eq hugo.Environment "gitea" }}
EDIT_THIS {{ with $scratch.core }}ADD_{{ index . 0 | upper }}{{ end }}