From 20deee89682f81090aa1d0ad69606aba4ba74c99 Mon Sep 17 00:00:00 2001 From: Marcell Mars Date: Sun, 22 Aug 2021 12:16:38 +0200 Subject: [PATCH] initial setup for the admin header for local editing... --- customizations/Dotawo/layouts/partials/header.html | 5 +++++ layouts/partials/header.html | 5 +++++ 2 files changed, 10 insertions(+) diff --git a/customizations/Dotawo/layouts/partials/header.html b/customizations/Dotawo/layouts/partials/header.html index 8d506f2..95c13fa 100644 --- a/customizations/Dotawo/layouts/partials/header.html +++ b/customizations/Dotawo/layouts/partials/header.html @@ -36,6 +36,11 @@ PUBLISH ? +{{ else }} + {{ $editPage := $.Site.GetPage "/edit" }} +
+ EDIT_THIS +
{{ end }}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html index fc5880a..6d660fa 100644 --- a/layouts/partials/header.html +++ b/layouts/partials/header.html @@ -36,6 +36,11 @@ PUBLISH ?
+{{ else }} + {{ $editPage := $.Site.GetPage "/edit" }} +
+ EDIT_THIS +
{{ end }}