Branch

fix href in main nav link

Sun Sep 28 2025

tucker <tucker@pangolin.lan>


    

49dee7e6a0042b336c34be2705f8bae811e20646

Side-by-side
Stacked
partial_templates/main_top.njk:46
Before
46
                  <a href="{{reposPath}}">Repositories</a>{% if nav.repoName %}<span class="text-secondary mx-2">&gt;</span><a href="{{reposPath}}/{{nav.repoName | slugify}}/branches/{{reposConfig.repos[nav.repoName].defaultBranch | slugify}}">{{nav.repoName}}</a>{% endif %}
After
46
                  <a href="{% if reposPath == "" %}/{% else %}{{reposPath}}{% endif %}">Repositories</a>{% if nav.repoName %}<span class="text-secondary mx-2">&gt;</span><a href="{{reposPath}}/{{nav.repoName | slugify}}/branches/{{reposConfig.repos[nav.repoName].defaultBranch | slugify}}">{{nav.repoName}}</a>{% endif %}