🏡 index : ~doyle/rgit.git

author Jordan Doyle <jordan@doyle.la> 2022-07-23 15:39:42.0 +01:00:00
committer Jordan Doyle <jordan@doyle.la> 2022-07-23 15:39:42.0 +01:00:00
commit
cf11ae132f16ac5ad10ca656613cd4cdb1d63dbf [patch]
tree
de6bd4cf84ed29fa822ff5366c3c888c364f71fa
parent
f93b28638e5b47cd51c72931bf29c6d03f5d98eb
download
cf11ae132f16ac5ad10ca656613cd4cdb1d63dbf.tar.gz

Display navbar on all pages



Diff

 templates/base.html | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)

diff --git a/templates/base.html b/templates/base.html
index 9377ac0..ff93441 100644
--- a/templates/base.html
+++ a/templates/base.html
@@ -13,7 +13,11 @@
    <h1><a href="/" class="no-hover">🏡</a> {% block header %}Git repository browser{% endblock %}</h1>
</header>

{% block nav %}{% endblock %}
{% block nav %}
<nav>
    <a href="/" class="active">index</a>
</nav>
{% endblock %}

<main>
    {% block content %}{% endblock %}