aboutsummaryrefslogtreecommitdiffstats
path: root/templates/base.html
diff options
context:
space:
mode:
authormjfernez <mjf@mjfer.net>2021-12-22 16:59:15 -0500
committermjfernez <mjf@mjfer.net>2021-12-22 16:59:15 -0500
commit283654d9a0d644ec3cd6e9c06898f11ac8effa78 (patch)
tree4cf902620885622fcd48934bd17657c70fd516db /templates/base.html
parent274a23b6fe167d30ce063aa1cc2f07374d18bc04 (diff)
downloadezcms-283654d9a0d644ec3cd6e9c06898f11ac8effa78.tar.gz
Remove site as the parent directory, manual merge
merges needed changes (and CSS) from mjfer.net branch
Diffstat (limited to 'templates/base.html')
-rw-r--r--templates/base.html6
1 files changed, 3 insertions, 3 deletions
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 @@
<div class="navbar">
<b>|</b> <!-- This makes the bar symmetrical -->
{% for dir in navbar %}
- <b> <a href="/site/{{ dir }}">{{ dir }}/</a> |</b>
+ <b> <a href="/{{ dir }}">{{ dir }}/</a> |</b>
{% endfor %}
<!-- Add icons here -->
<a href="/feed.xml"target="_blank" rel="noopener noreferrer">
<img src="https://icons.getbootstrap.com/assets/icons/rss-fill.svg">
</a>
</div>
- <h2>{{ title }}</h2>
+ <h2 class="center">{{ title }}</h2>
<div class="content">
{% block content %}
{% endblock %}
<h3 class="center">{{ errors }}</h3>
- {% if parent_dir != '/site/' %}
+ {% if parent_dir %}
<h3 class="center"><a href="{{ parent_dir }}">Go up to parent folder ({{ parent_dir }})</a></h3>
{% endif %}
</div>