templates: Remove the extra / in the anchor link

Anchor links do not need an additional / to work : the # can be added directly
at the end of the previous URL.
Remove it from the existing anchor tags in the truths.
This commit is contained in:
trotFunky 2024-08-01 22:43:25 +01:00
parent 24ab2fc5f2
commit 322d37ce48
2 changed files with 2 additions and 2 deletions

View file

@ -21,7 +21,7 @@
{% for truth in truths %}
<div class="individual_truth">
<a href="/{{ truth.week }}/#{{ truth.number }}"><h3 id="{{ truth.number }}">Semaine {{ truth.week }} - Vérité {{ truth.number }}</h3></a>
<a href="/{{ truth.week }}#{{ truth.number }}"><h3 id="{{ truth.number }}">Semaine {{ truth.week }} - Vérité {{ truth.number }}</h3></a>
<p>{{ truth.rendered_text | safe }}</p>
</div>
{% endfor %}

View file

@ -5,7 +5,7 @@
{%- endif -%}
<div class="individual_truth">
<a href="/{{ truth.week }}/#{{ truth.number }}"><h3 id="{{ truth.number }}">Vérité {{ truth.number }}</h3></a>
<a href="/{{ truth.week }}#{{ truth.number }}"><h3 id="{{ truth.number }}">Vérité {{ truth.number }}</h3></a>
<p>{{ truth.rendered_text | safe }}</p>
<hr>
<div class="truth_tags">