From 2e5e2a2f5c29f95c86b2966d9c38b33ba52a4195 Mon Sep 17 00:00:00 2001 From: Alex Shpak Date: Tue, 11 Sep 2018 23:14:19 +0200 Subject: [PATCH] Add more partial hooks --- layouts/partials/book/html-head-after.html | 0 layouts/partials/book/html-head.html | 4 +++- layouts/partials/book/nav-before.html | 0 layouts/partials/book/{nav-auto.html => nav-tree.html} | 1 + layouts/partials/book/nav.html | 2 +- 5 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 layouts/partials/book/html-head-after.html create mode 100644 layouts/partials/book/nav-before.html rename layouts/partials/book/{nav-auto.html => nav-tree.html} (97%) 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 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 @@ {{ $styles := resources.Get "styles.scss" | resources.ToCSS | resources.Minify | resources.Fingerprint }} - \ No newline at end of file + + +{{ 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 diff --git a/layouts/partials/book/nav-auto.html b/layouts/partials/book/nav-tree.html similarity index 97% rename from layouts/partials/book/nav-auto.html rename to 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 @@