diff options
| author | Serghei Iakovlev <egrep@protonmail.ch> | 2022-06-06 01:03:58 +0200 |
|---|---|---|
| committer | Serghei Iakovlev <egrep@protonmail.ch> | 2022-06-06 01:03:58 +0200 |
| commit | 85f856482994db67d3d4e853e88e197da1c745ea (patch) | |
| tree | 1f55ec7250c1aefe9daa17df44f40f6b91f91ab4 /layouts/shortcodes/toc.html | |
| parent | 5c8c5ba97b10a4a385dcfee38a6ab9e38e2fda2c (diff) | |
| download | gohugo-theme-ed-85f856482994db67d3d4e853e88e197da1c745ea.tar.gz | |
Change the way you enable table of contents in the sidebar
Diffstat (limited to 'layouts/shortcodes/toc.html')
| -rw-r--r-- | layouts/shortcodes/toc.html | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/layouts/shortcodes/toc.html b/layouts/shortcodes/toc.html index ba789ee..cc23ebf 100644 --- a/layouts/shortcodes/toc.html +++ b/layouts/shortcodes/toc.html @@ -1 +1,5 @@ +<h2 class="no_toc" id="contents"> + {{ i18n "table_of_contents" }} +</h2> + {{ .Page.TableOfContents }} |
