diff --git a/wowchemy/layouts/partials/book_layout.html b/wowchemy/layouts/partials/book_layout.html index ce132901..fa3333da 100644 --- a/wowchemy/layouts/partials/book_layout.html +++ b/wowchemy/layouts/partials/book_layout.html @@ -13,13 +13,15 @@ {{/* Show ToC by default. */}} {{ if ne .Params.toc false }}
+ {{ partial "hooks/page_toc_start" . }} + {{ .TableOfContents }} - {{ partial "docs_toc_foot" . }} + {{ partial "hooks/page_toc_end" . }}
{{ end }} diff --git a/wowchemy/layouts/partials/docs_toc_foot.html b/wowchemy/layouts/partials/hooks/page_toc_end.html similarity index 100% rename from wowchemy/layouts/partials/docs_toc_foot.html rename to wowchemy/layouts/partials/hooks/page_toc_end.html diff --git a/wowchemy/layouts/partials/hooks/page_toc_start.html b/wowchemy/layouts/partials/hooks/page_toc_start.html new file mode 100644 index 00000000..e69de29b