fix dynamic collapse div id tags

This commit is contained in:
Trent Palmer 2021-03-16 17:53:31 -07:00
parent b8e70d1762
commit 52a4721ff9
2 changed files with 4 additions and 4 deletions

View File

@ -28,8 +28,8 @@
</div>
</div>
<p class="text-justify mt-2 mb-0">{{ i.description }}</p>
<a href="#{{ i.slug }}-attributions" data-toggle="collapse">license/attribution</a>
<div id="{{ i.slug }}-attributions" class="collapse">
<a href="#x{{ i.slug }}-attributions" data-toggle="collapse">license/attribution</a>
<div id="x{{ i.slug }}-attributions" class="collapse">
Photo <a href="{{ i.original_image_url }}">{{ i.image_title }}</a> by
{% if i.image_attribution_url == '' %}
{{ i.image_attribution }}

View File

@ -50,8 +50,8 @@
</div>
<div class="container w-100 mb-2">
<p class="text-justify mb-0">{{ j.description }}</p>
<a href="#{{ j.slug }}-attributions" data-toggle="collapse">license/attribution</a>
<div id="{{ j.slug }}-attributions" class="collapse">
<a href="#x{{ j.slug }}-attributions" data-toggle="collapse">license/attribution</a>
<div id="x{{ j.slug }}-attributions" class="collapse">
Photo <a href="{{ j.original_image_url }}">{{ j.image_title }}</a> by
{% if j.image_attribution_url == '' %}
{{ j.image_attribution }}