From e4b7179c121473be2e53999cc50933521498c7a9 Mon Sep 17 00:00:00 2001 From: mjfernez Date: Wed, 22 Dec 2021 16:38:35 -0500 Subject: Removed "/site" appendage. CSS fixes This commit removes the "/site" appended to every directory and solved the problem of redirecting links correctly by setting 'parent_dir' in the main view context to point to '/' by default. This also changes how titles appear to conform to my sensibilities. --- templates/base.html | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) (limited to 'templates/base.html') diff --git a/templates/base.html b/templates/base.html index 2515795..ec0a41a 100644 --- a/templates/base.html +++ b/templates/base.html @@ -9,7 +9,8 @@ hacking, forensics, tor, anonymity, internet, society, luddite, futurism, lulz, fun, poetry, games, vidya, thoughts, random, homepage, email server, web server, sound, fury, shakespeare, - nothing, writing, audio, classical music, video game music"/> + nothing, writing, audio, classical music, video game music, + mjfernez, mjfernet, mike, fernez, mikefernez, michael"/> {% block css%} @@ -23,19 +24,19 @@ -

{{ title }}

+

{{ title }}

{% block content %} {% endblock %}

{{ errors }}

- {% if parent_dir != '/site/' %} + {% if parent_dir %}

Go up to parent folder ({{ parent_dir }})

{% endif %}
-- cgit v1.2.3