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:
parent
24ab2fc5f2
commit
322d37ce48
2 changed files with 2 additions and 2 deletions
|
@ -21,7 +21,7 @@
|
||||||
|
|
||||||
{% for truth in truths %}
|
{% for truth in truths %}
|
||||||
<div class="individual_truth">
|
<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>
|
<p>{{ truth.rendered_text | safe }}</p>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
{%- endif -%}
|
{%- endif -%}
|
||||||
|
|
||||||
<div class="individual_truth">
|
<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>
|
<p>{{ truth.rendered_text | safe }}</p>
|
||||||
<hr>
|
<hr>
|
||||||
<div class="truth_tags">
|
<div class="truth_tags">
|
||||||
|
|
Loading…
Add table
Reference in a new issue