Commit b6424e62 authored by Michael Apfelthaler's avatar Michael Apfelthaler

Fix Facts _entry Category

parent 9387c4ae
......@@ -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 in entry.kategorien %}
{% if (thema.slug|t(language="de") in entry.kategorien) or (thema.slug 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 %}
......
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