From 283654d9a0d644ec3cd6e9c06898f11ac8effa78 Mon Sep 17 00:00:00 2001 From: mjfernez Date: Wed, 22 Dec 2021 16:59:15 -0500 Subject: Remove site as the parent directory, manual merge merges needed changes (and CSS) from mjfer.net branch --- templates/base.html | 6 +++--- templates/index.html | 2 +- templates/site/home.html | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'templates') diff --git a/templates/base.html b/templates/base.html index 5ca253a..c280184 100644 --- a/templates/base.html +++ b/templates/base.html @@ -14,19 +14,19 @@ -

{{ title }}

+

{{ title }}

{% block content %} {% endblock %}

{{ errors }}

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

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

{% endif %}
diff --git a/templates/index.html b/templates/index.html index c8356fe..b612c63 100644 --- a/templates/index.html +++ b/templates/index.html @@ -2,7 +2,7 @@ {% block content %}
{% if description %} -{% include cur_path + '/.description' %} +{% include '/site/' + cur_path + '/.description' %} {% endif %} {% if dirs %} diff --git a/templates/site/home.html b/templates/site/home.html index 01d676e..46c1663 100644 --- a/templates/site/home.html +++ b/templates/site/home.html @@ -1,4 +1,4 @@ {% extends 'base.html' %} {% block content %} -

Home

+

Home

{% endblock %} -- cgit v1.2.3