Skip to content

Commit

Permalink
Merge pull request #643 from Fortran-FOSS-Programmers/fix-navbar-rela…
Browse files Browse the repository at this point in the history
…tive-links

Fix a couple more instances of relative links in the navbar
  • Loading branch information
ZedThree authored Apr 3, 2024
2 parents aa79224 + e0234f2 commit cde9348
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ford/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
</li>
{% else %}
<li class="nav-item">
<a class="nav-link" href="{{project.files[0].get_url()}}">Source File</a>
<a class="nav-link" href="{{ project_url }}/{{project.files[0].get_url()}}">Source File</a>
</li>
{% endif %}
{% endif %}
Expand All @@ -69,7 +69,7 @@
</li>
{% elif project.blockdata|length == 1 %}
<li class="nav-item">
<a class="nav-link" href="{{ project.blockdata[0].get_url() }}">Block Data</a>
<a class="nav-link" href="{{ project_url }}/{{ project.blockdata[0].get_url() }}">Block Data</a>
</li>
{% endif %}
{% if project.procedures %}
Expand Down

0 comments on commit cde9348

Please sign in to comment.