Skip to content

Commit

Permalink
Fix Source Files navbar link not working for single file projects
Browse files Browse the repository at this point in the history
  • Loading branch information
ZedThree committed Oct 17, 2023
1 parent f04b9ad commit 20b118a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ford/templates/base.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
<li class="nav-item"><a class="nav-link" href="{{ pages.url }}">{{ pages.title }}</a></li>
{% endif %}
{% if incl_src %}
{% if project.files|length + project.extra_files|length is more_than_one %}
{% if (project.files|length + project.extra_files|length) is more_than_one %}
<li class="nav-item">
<a class="nav-link" href="{{ project_url }}/lists/files.html">Source Files</a>
</li>
Expand Down

0 comments on commit 20b118a

Please sign in to comment.