all repos — website.git @ f525e66f2387b3d6fae85ec7730009f211f59d8a

Files for the website.

testing hook
Gio e@mail
Sat, 10 Aug 2024 21:53:46 -0400
commit

f525e66f2387b3d6fae85ec7730009f211f59d8a

parent

bf18c753c5f00dd99ac3203925b7bcaba59024d2

1 files changed, 42 insertions(+), 0 deletions(-)

jump to
A templates/wiki-page.html

@@ -0,0 +1,42 @@

+{% extends "base.html" %} + +{% block outline %} +<p class="subtitle"><strong><a href="/wiki">Return to Index</a></strong></p> +. <br> +{% if page.toc %} + {% for h2 in page.toc %} + {% if loop.last %} + └── <a href="{{ h2.permalink | safe }}">{{ h2.title }}</a> <br> + {% if h2.children %} + {% for h3 in h2.children %} + {% if loop.last %} + &nbsp&nbsp&nbsp └── <a href="{{ h3.permalink | safe }}">{{ h3.title }}</a> <br> + {% break %} + {% endif %} + &nbsp&nbsp&nbsp ├── <a href="{{ h3.permalink | safe }}">{{ h3.title }}</a> <br> + {% endfor %} + {% endif %} + {% else %} + ├── <a href="{{ h2.permalink | safe }}">{{ h2.title }}</a> <br> + {% if h2.children %} + {% for h3 in h2.children %} + {% if loop.last %} + │&nbsp └── <a href="{{ h3.permalink | safe }}">{{ h3.title }}</a> <br> + {% break %} + {% endif %} + │&nbsp ├── <a href="{{ h3.permalink | safe }}">{{ h3.title }}</a> <br> + {% endfor %} + {% endif %} + {% endif %} + {% endfor %} +{% endif %} +{% endblock outline %} + +{% block title %} +{{ page.title }} +{% endblock title %} + + +{% block content %} +{{ page.content | safe }} +{% endblock content %}