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