From 82b4d3212c6752745bc6ae58b273b2ceb390bc4f Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Tue, 12 Feb 2019 15:44:36 +0100 Subject: Add reference to theme as html comment in head --- layouts/partials/docs/html-head.html | 7 ++++++- layouts/partials/docs/shared.html | 2 +- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'layouts/partials') diff --git a/layouts/partials/docs/html-head.html b/layouts/partials/docs/html-head.html index c4f6a49..b15fe78 100644 --- a/layouts/partials/docs/html-head.html +++ b/layouts/partials/docs/html-head.html @@ -5,4 +5,9 @@ {{ $styles := resources.Get "book.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }} - \ No newline at end of file + + +{{ "" | safeHTML }} \ No newline at end of file diff --git a/layouts/partials/docs/shared.html b/layouts/partials/docs/shared.html index 91c71b6..2027007 100644 --- a/layouts/partials/docs/shared.html +++ b/layouts/partials/docs/shared.html @@ -1,4 +1,4 @@ - +{{/*These templates contains some more complex logic and shared between partials*/}} {{ define "title" }} {{- if .Pages -}} {{ $sections := split (trim .Dir "/") "/" }} -- cgit v1.2.3