whoops forgot relative_root in the ersatz template

This commit is contained in:
pho4cexa 2022-12-16 09:58:30 -08:00 committed by m455
parent 35496ee17e
commit 146ce5a05d

View file

@ -23,19 +23,19 @@
<p>clone url:{{ clone_url_prefix }}/{{ repository_name }}</p>
<nav>
{% if readme_file %}
<a href="index.html">about</a>
<a href="files.html">files</a>
<a href="{{ relative_root }}index.html">about</a>
<a href="{{ relative_root }}files.html">files</a>
{% else %}
<a href="index.html">files</a>
<a href="{{ relative_root }}index.html">files</a>
{% endif %}
{% if license_file %}
<a href="{{ license_file }}.html">license</a>
<a href="{{ relative_root }}{{ license_file }}.html">license</a>
{% endif %}
{% if issues_file %}
<a href="{{ issues_file }}.html">issues</a>
<a href="{{ relative_root }}{{ issues_file }}.html">issues</a>
{% endif %}
<a href="commits.html">commits</a>
<a href="contributors.html">contributors</a>
<a href="{{ relative_root }}commits.html">commits</a>
<a href="{{ relative_root }}contributors.html">contributors</a>
</nav>
<hr />
{{ content|safe }}