diff --git a/themes/freenet/layouts/shortcodes/toc.html b/themes/freenet/layouts/shortcodes/toc.html new file mode 100644 index 00000000..4615689a --- /dev/null +++ b/themes/freenet/layouts/shortcodes/toc.html @@ -0,0 +1,11 @@ +{{ $headings := .Page.Content | markdownify | plainify | findRE "(?m)^# (.+)$" }} +