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
|
@ -6,4 +6,6 @@
|
|||
<!-- <link href="/css/grids-responsive-min.css" rel="stylesheet"> -->
|
||||
|
||||
{{ $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">
|
||||
{{ partial "book/nav-brand" . }}
|
||||
{{ partial "book/nav-before" . }}
|
||||
|
||||
<ul>
|
||||
{{ range .Scratch.Get "BookSections" }}
|
|
@ -1,5 +1,5 @@
|
|||
{{ if .Site.Params.BookMenuBundle }}
|
||||
{{ partial "book/nav-bundle" . }}
|
||||
{{ else }}
|
||||
{{ partial "book/nav-auto" . }}
|
||||
{{ partial "book/nav-tree" . }}
|
||||
{{ end }}
|
Loading…
Reference in a new issue