summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Shpak <alex-shpak@users.noreply.github.com>2019-02-12 15:44:36 +0100
committerAlex Shpak <alex-shpak@users.noreply.github.com>2019-02-12 15:44:36 +0100
commit82b4d3212c6752745bc6ae58b273b2ceb390bc4f (patch)
tree7b6f9fecc892eb091ace637b03720a197183e603
parent21b245b46560a4fb321c0c38a1bc3c64636f68c0 (diff)
Add reference to theme as html comment in head
-rw-r--r--layouts/partials/docs/html-head.html7
-rw-r--r--layouts/partials/docs/shared.html2
2 files changed, 7 insertions, 2 deletions
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 @@
<link href="https://fonts.googleapis.com/css?family=Oxygen|Oxygen+Mono:300,400,700" rel="stylesheet">
<link rel="stylesheet" href="{{ "normalize.min.css" | absURL }}">
{{ $styles := resources.Get "book.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
-<link rel="stylesheet" href="{{ $styles.RelPermalink }}"> \ No newline at end of file
+<link rel="stylesheet" href="{{ $styles.RelPermalink }}">
+
+{{ "<!--" | safeHTML }}
+Made with Book Theme
+https://github.com/alex-shpak/hugo-book
+{{ "-->" | 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-->
+{{/*These templates contains some more complex logic and shared between partials*/}}
{{ define "title" }}
{{- if .Pages -}}
{{ $sections := split (trim .Dir "/") "/" }}