Skip to content
Snippets Groups Projects
Commit cff1a9a3 authored by xaralis's avatar xaralis
Browse files

fix(district): only show parts with useful content in geo feature detail

parent 309169ce
No related branches found
No related tags found
2 merge requests!559Release,!557Promote some geo feature collection items
Pipeline #8635 passed
......@@ -48,10 +48,12 @@
{% if page.parts_section_title %}<h2 class="head-alt-base mb-4">{{ page.parts_section_title }}</h2>{% endif %}
<div class="space-y-4">
{% for part in parts %}
{% if part.title and part.description %}
<div>
{% if part.selfTitle %}<h3 class="head-allcaps-3xs">{{ part.selfTitle }}</h3>{% endif %}
{% if part.description %}<div class="content-block"><p>{{ part.description }}</p></div>{% endif %}
<h3 class="head-allcaps-3xs">{{ part.title }}</h3>
<div class="content-block"><p>{{ part.description }}</p></div>
</div>
{% endif %}
{% endfor %}
</div>
</div>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment