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
|
@ -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 }}">
|
||||
<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" }}
|
||||
{{- if .Pages -}}
|
||||
{{ $sections := split (trim .Dir "/") "/" }}
|
||||
|
|
Loading…
Reference in a new issue