<li{% if page == 'files' %} class="active"{% endif %}><a href="{{ path('branch', {repo: repo, branch: branch}) }}"><i class="fas fa-file"></i> Files</a></li>
<li{% if page in ['commits', 'searchcommits'] %} class="active"{% endif %}> <a href="{{ path('commits', {repo: repo, commitishPath: branch}) }}"><i class="fas fa-code-branch"></i> Commits</a></li>