From 68ad4e4bcd5eaf4767637b741548442f7c58ac14 Mon Sep 17 00:00:00 2001 From: onomanapeia Date: Fri, 13 Sep 2024 20:34:11 -0500 Subject: [PATCH] ugh come ON --- templates/toc.html | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 templates/toc.html diff --git a/templates/toc.html b/templates/toc.html new file mode 100644 index 0000000..e678daa --- /dev/null +++ b/templates/toc.html @@ -0,0 +1,44 @@ +{% extends "base.html" %} + +{% block content %} +

{{ page.title }}

+ +{% if page.toc and page.extra.toc %} +
+

Table of contents

+ +
+{% endif %} + +{{ page.content | safe }} + +

+{% if page.taxonomies.tags %} +{% for tag in page.taxonomies.tags %} +/{{ tag }}/ +{% endfor %} +{% endif %} +

+{% endblock content %}