Add reference to theme as html comment in head
This commit is contained in:
parent
21b245b465
commit
82b4d3212c
2 changed files with 7 additions and 2 deletions
|
@ -6,3 +6,8 @@
|
||||||
<link rel="stylesheet" href="{{ "normalize.min.css" | absURL }}">
|
<link rel="stylesheet" href="{{ "normalize.min.css" | absURL }}">
|
||||||
{{ $styles := resources.Get "book.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
|
{{ $styles := resources.Get "book.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
|
||||||
<link rel="stylesheet" href="{{ $styles.RelPermalink }}">
|
<link rel="stylesheet" href="{{ $styles.RelPermalink }}">
|
||||||
|
|
||||||
|
{{ "<!--" | safeHTML }}
|
||||||
|
Made with Book Theme
|
||||||
|
https://github.com/alex-shpak/hugo-book
|
||||||
|
{{ "-->" | safeHTML }}
|
|
@ -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" }}
|
{{ define "title" }}
|
||||||
{{- if .Pages -}}
|
{{- if .Pages -}}
|
||||||
{{ $sections := split (trim .Dir "/") "/" }}
|
{{ $sections := split (trim .Dir "/") "/" }}
|
||||||
|
|
Loading…
Reference in a new issue