Add more partial hooks
This commit is contained in:
parent
628a4df0df
commit
2e5e2a2f5c
5 changed files with 5 additions and 2 deletions
0
layouts/partials/book/html-head-after.html
Normal file
0
layouts/partials/book/html-head-after.html
Normal file
|
@ -7,3 +7,5 @@
|
||||||
|
|
||||||
{{ $styles := resources.Get "styles.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
|
{{ $styles := resources.Get "styles.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }}
|
||||||
<link rel="stylesheet" href="{{ $styles.Permalink }}">
|
<link rel="stylesheet" href="{{ $styles.Permalink }}">
|
||||||
|
|
||||||
|
{{ partial "book/html-head-after" . }}
|
0
layouts/partials/book/nav-before.html
Normal file
0
layouts/partials/book/nav-before.html
Normal file
|
@ -14,6 +14,7 @@
|
||||||
|
|
||||||
<nav role="navigation">
|
<nav role="navigation">
|
||||||
{{ partial "book/nav-brand" . }}
|
{{ partial "book/nav-brand" . }}
|
||||||
|
{{ partial "book/nav-before" . }}
|
||||||
|
|
||||||
<ul>
|
<ul>
|
||||||
{{ range .Scratch.Get "BookSections" }}
|
{{ range .Scratch.Get "BookSections" }}
|
|
@ -1,5 +1,5 @@
|
||||||
{{ if .Site.Params.BookMenuBundle }}
|
{{ if .Site.Params.BookMenuBundle }}
|
||||||
{{ partial "book/nav-bundle" . }}
|
{{ partial "book/nav-bundle" . }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
{{ partial "book/nav-auto" . }}
|
{{ partial "book/nav-tree" . }}
|
||||||
{{ end }}
|
{{ end }}
|
Loading…
Reference in a new issue