mirror of
https://github.com/alex-shpak/hugo-book.git
synced 2025-04-18 05:05:44 +00:00
Add reference to theme as html comment in head
This commit is contained in:
parent
21b245b465
commit
82b4d3212c
@ -6,3 +6,8 @@
|
||||
<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 }}">
|
||||
|
||||
{{ "<!--" | 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 New Issue
Block a user