From 012ccee53d9154e4143f86ba40e492075db861ce Mon Sep 17 00:00:00 2001 From: Tiger Oakes Date: Tue, 26 Jan 2021 09:45:08 -0800 Subject: Add before and after partials for toc (#296) Closes #257 --- layouts/_default/baseof.html | 6 +++++- layouts/partials/docs/inject/toc-after.html | 0 layouts/partials/docs/inject/toc-before.html | 0 3 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 layouts/partials/docs/inject/toc-after.html create mode 100644 layouts/partials/docs/inject/toc-before.html (limited to 'layouts') diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 3b0164c..e7ff71e 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -36,7 +36,11 @@ {{ if default true (default .Site.Params.BookToC .Params.BookToC) }} {{ end }} diff --git a/layouts/partials/docs/inject/toc-after.html b/layouts/partials/docs/inject/toc-after.html new file mode 100644 index 0000000..e69de29 diff --git a/layouts/partials/docs/inject/toc-before.html b/layouts/partials/docs/inject/toc-before.html new file mode 100644 index 0000000..e69de29 -- cgit v1.2.3