From ee7f050c140b2fe3ab17ecc899da74f4489c5db1 Mon Sep 17 00:00:00 2001 From: Marcell Mars Date: Thu, 24 Dec 2020 17:35:34 +0100 Subject: [PATCH] dotawo header was not uptodate about _preview changes --- customizations/Dotawo/layouts/partials/header.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/customizations/Dotawo/layouts/partials/header.html b/customizations/Dotawo/layouts/partials/header.html index cb44f01..8d506f2 100644 --- a/customizations/Dotawo/layouts/partials/header.html +++ b/customizations/Dotawo/layouts/partials/header.html @@ -26,8 +26,8 @@ {{ $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 }} {{ with $scratch.mantle }}ADD_{{ index . 0 | upper }}{{ end }}