all repos — website.git @ f3ee587a0909bbc8e29c37fced653ebe815f0365

Files for the website.

added truncation to the outline, no ugly wraparounds
Gio e@mail
Sun, 15 Feb 2026 20:09:57 -0500
commit

f3ee587a0909bbc8e29c37fced653ebe815f0365

parent

bf548768951d8ecc2f209cafc3336d624609df8a

1 files changed, 6 insertions(+), 6 deletions(-)

jump to
M templates/blog-page.htmltemplates/blog-page.html

@@ -6,25 +6,25 @@ . <br>

{% if page.toc %} {% for h2 in page.toc %} {% if loop.last %} - └── <a href="{{ h2.permalink | safe }}">{{ h2.title }}</a> <br> + └── <a href="{{ h2.permalink | safe }}">{{ h2.title | truncate(length=22) }}</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> + &nbsp&nbsp&nbsp └── <a href="{{ h3.permalink | safe }}">{{ h3.title | truncate(length=19) }}</a> <br> {% break %} {% endif %} - &nbsp&nbsp&nbsp ├── <a href="{{ h3.permalink | safe }}">{{ h3.title }}</a> <br> + &nbsp&nbsp&nbsp ├── <a href="{{ h3.permalink | safe }}">{{ h3.title | truncate(length=19) }}</a> <br> {% endfor %} {% endif %} {% else %} - ├── <a href="{{ h2.permalink | safe }}">{{ h2.title }}</a> <br> + ├── <a href="{{ h2.permalink | safe }}">{{ h2.title | truncate(length=22) }}</a> <br> {% if h2.children %} {% for h3 in h2.children %} {% if loop.last %} - │&nbsp └── <a href="{{ h3.permalink | safe }}">{{ h3.title }}</a> <br> + │&nbsp └── <a href="{{ h3.permalink | safe }}">{{ h3.title | truncate(length=19) }}</a> <br> {% break %} {% endif %} - │&nbsp ├── <a href="{{ h3.permalink | safe }}">{{ h3.title }}</a> <br> + │&nbsp ├── <a href="{{ h3.permalink | safe }}">{{ h3.title | truncate(length=19) }}</a> <br> {% endfor %} {% endif %} {% endif %}