Commit 0a5ec352 authored by Michael Apfelthaler's avatar Michael Apfelthaler

[TASK] Add Caption to Facts Images

parent db537e4c
......@@ -8,7 +8,7 @@
<h1>{{entry.title}}</h1>
<div class="fact-filters wm-nav-tag__list mt16">
{% for thema in craft.entries.section('themen') %}
{% if (thema.slug|t(language="de") in entry.kategorien) or (thema.slug in entry.kategorien) %}
{% if (thema.slug|t(language="de") in entry.kategorien) %}
<a id="{{thema.slug}}" href="{{siteurl}}facts?category={{thema.slug}}" class="wm-nav-tag__link"
value="{{thema.slug}}">{{thema.title}}</a>
{% endif %}
......@@ -17,7 +17,9 @@
<div class="wm-row mt32">
<div>{{entry.teaser}}</div>
<div><img class="wm-image wm-card__image" loading="lazy" src="{{ baseurl }}/{{image.url}}" height="200" data-src=""
alt="Bildbeschreibung"></div>
alt="Bildbeschreibung">
<figcaption>{{image.caption}}</figcaption>
</div>
</div>
<div class="wm-row column mt32">
{{entry.richText}}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment