diff options
Diffstat (limited to 'layouts/partials/book')
-rw-r--r-- | layouts/partials/book/html-head-after.html | 0 | ||||
-rw-r--r-- | layouts/partials/book/html-head.html | 4 | ||||
-rw-r--r-- | layouts/partials/book/nav-before.html | 0 | ||||
-rw-r--r-- | layouts/partials/book/nav-tree.html (renamed from layouts/partials/book/nav-auto.html) | 1 | ||||
-rw-r--r-- | layouts/partials/book/nav.html | 2 |
5 files changed, 5 insertions, 2 deletions
diff --git a/layouts/partials/book/html-head-after.html b/layouts/partials/book/html-head-after.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/layouts/partials/book/html-head-after.html diff --git a/layouts/partials/book/html-head.html b/layouts/partials/book/html-head.html index bf7db42..b171d7c 100644 --- a/layouts/partials/book/html-head.html +++ b/layouts/partials/book/html-head.html @@ -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 }}">
\ No newline at end of file +<link rel="stylesheet" href="{{ $styles.Permalink }}"> + +{{ partial "book/html-head-after" . }}
\ No newline at end of file diff --git a/layouts/partials/book/nav-before.html b/layouts/partials/book/nav-before.html new file mode 100644 index 0000000..e69de29 --- /dev/null +++ b/layouts/partials/book/nav-before.html diff --git a/layouts/partials/book/nav-auto.html b/layouts/partials/book/nav-tree.html index c54f960..b87e944 100644 --- a/layouts/partials/book/nav-auto.html +++ b/layouts/partials/book/nav-tree.html @@ -14,6 +14,7 @@ <nav role="navigation"> {{ partial "book/nav-brand" . }} + {{ partial "book/nav-before" . }} <ul> {{ range .Scratch.Get "BookSections" }} diff --git a/layouts/partials/book/nav.html b/layouts/partials/book/nav.html index cc24df7..929b1b7 100644 --- a/layouts/partials/book/nav.html +++ b/layouts/partials/book/nav.html @@ -1,5 +1,5 @@ {{ if .Site.Params.BookMenuBundle }} {{ partial "book/nav-bundle" . }} {{ else }} - {{ partial "book/nav-auto" . }} + {{ partial "book/nav-tree" . }} {{ end }}
\ No newline at end of file |