templates: don't show branch name by default, override in code.html

This commit is contained in:
Sasha Koshka 2025-08-24 23:01:33 -04:00
parent 83b549b6d2
commit ba30fdc9d2
Signed by: sashakoshka
GPG Key ID: 5F45CE982CB37401
2 changed files with 8 additions and 1 deletions

View File

@ -93,7 +93,9 @@
<span>
viewing
<span class=linkedPath>
<a href="/">{{ owner }}</a>/<a href="/">{{ repo }}</a>/<a href="/">{{ branch }}</a>
{% block nav %}
<a href="/">{{ owner }}</a>/<a href="/">{{ repo }}</a>
{% endblock nav %}
</span>
</span>
<ul class=buttonList>

View File

@ -2,6 +2,11 @@
{% block page %}code{% endblock page %}
{% block nav %}
<a href="/">{{ owner }}</a>/<a href="/">{{ repo }}</a>/<a href="/">{{ branch }}</a>
{% endblock nav %}
{% block content %}
<div id=contentWrap>
<aside>