Skip to content
Snippets Groups Projects
Verified Commit 7c4cf707 authored by Jake's avatar Jake
Browse files

use category title in tags that support it

parent ec903386
No related branches found
No related tags found
No related merge requests found
Pipeline #312559 passed
......@@ -44,7 +44,13 @@
{%- call(nativetag, sccat, tagarticles) get.tag_by_name(s.tag) -%}
{%- if s.title is not defined -%}
<header>
<h2 {% if s.id is defined -%}id="{{ s.id }}"{%- endif %}>{{ s.tag|e }}</h2>
<h2 {% if s.id is defined -%}id="{{ s.id }}"{%- endif %}>
{%- if sccat -%}
{{- sccat[lang]|e -}}
{%- else -%}
{{- s.tag|e -}}
{%- endif -%}
</h2>
</header>
{%- endif -%}
{{ cards.open() }}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment