diff --git a/statics/sass/style.scss b/statics/sass/style.scss index 75b5c61..58012fe 100644 --- a/statics/sass/style.scss +++ b/statics/sass/style.scss @@ -28,6 +28,11 @@ header { nav { margin-top: 2rem; border-bottom: solid 3px #ccc; + display: flex; + + .grow { + flex-grow: 1; + } @media (prefers-color-scheme: dark) { border-bottom-color: $darkModeHighlightColour; diff --git a/templates/base.html b/templates/base.html index 3f49e28..4c02da1 100644 --- a/templates/base.html +++ b/templates/base.html @@ -18,7 +18,15 @@ {%- block nav -%} {%- endblock -%} diff --git a/templates/repo/base.html b/templates/repo/base.html index b4b58dc..30a7456 100644 --- a/templates/repo/base.html +++ b/templates/repo/base.html @@ -8,12 +8,20 @@ {% block nav %} {% endblock %} diff --git a/templates/repo/file.html b/templates/repo/file.html index b933f81..d2727ec 100644 --- a/templates/repo/file.html +++ b/templates/repo/file.html @@ -7,6 +7,10 @@ {% block tree_nav_class %}active{% endblock %} +{% block extra_nav_links %} + plain +{% endblock %} + {% block content %}
{{ file.content|safe }}
{% endblock %}