~qeef/damn-www.git

d425951325705e2b2dd323a4fd8f4b7e7fb2815c — Jiri Vlasak a month ago cce20a4
Add table of contents
3 files changed, 12 insertions(+), 0 deletions(-)

M hugo/config.toml
M hugo/content/_index.md
A hugo/layouts/shortcodes/toc.html
M hugo/config.toml => hugo/config.toml +5 -0
@@ 10,3 10,8 @@ pygmentscodefences  = true
[params]
  sitename = "Divide and map. Now."
  disableWebFonts = true

[markup]
  [markup.tableOfContents]
    startLevel = 2
    endLevel = 2

M hugo/content/_index.md => hugo/content/_index.md +4 -0
@@ 36,6 36,10 @@ scripts][py] for checking abandoned/intersecting areas.
[7]: https://git.sr.ht/~qeef/damn-deploy/tree/master/README.md
[8]: https://lists.sr.ht/~qeef/damn-project

---

{{< toc >}}

Diaries
-------


A hugo/layouts/shortcodes/toc.html => hugo/layouts/shortcodes/toc.html +3 -0
@@ 0,0 1,3 @@
<div class="toc">
    {{ .Page.TableOfContents }}
</div>