Add more partial hooks

This commit is contained in:
Alex Shpak 2018-09-11 23:14:19 +02:00
parent 628a4df0df
commit 2e5e2a2f5c
5 changed files with 5 additions and 2 deletions

View 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" . }}

View file

View file

@ -14,6 +14,7 @@
<nav role="navigation">
{{ partial "book/nav-brand" . }}
{{ partial "book/nav-before" . }}
<ul>
{{ range .Scratch.Get "BookSections" }}

View file

@ -1,5 +1,5 @@
{{ if .Site.Params.BookMenuBundle }}
{{ partial "book/nav-bundle" . }}
{{ else }}
{{ partial "book/nav-auto" . }}
{{ partial "book/nav-tree" . }}
{{ end }}