diff options
author | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2023-08-04 10:17:49 +0700 |
---|---|---|
committer | Ngô Ngọc Đức Huy <huyngo@disroot.org> | 2023-08-04 10:19:36 +0700 |
commit | cf91ff39630cead0fad16c16858405b3efbe7994 (patch) | |
tree | 3ead000d81c815cdc0fb8403f6a3d7c294cba1eb /layouts/partials/post-navigation-top.html | |
parent | 3f8ec96f3436b1b1a1c91807694280cb08fe7ce9 (diff) | |
download | victor-cf91ff39630cead0fad16c16858405b3efbe7994.tar.gz |
Implement table of contents
Diffstat (limited to 'layouts/partials/post-navigation-top.html')
-rw-r--r-- | layouts/partials/post-navigation-top.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/partials/post-navigation-top.html b/layouts/partials/post-navigation-top.html index 3bcc39f..a7470c0 100644 --- a/layouts/partials/post-navigation-top.html +++ b/layouts/partials/post-navigation-top.html @@ -1,2 +1,5 @@ +{{ if or (in .Params.categories "book") (in .CurrentSection.Params.categories "book") }} {{ partial "breadcrumbs.html" .}} +{{ partial "root-toc.html" .}} +{{ end}} {{ partial "post-navigation.html" .}} |