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

added span element in some links

parent 03e56d02
No related branches found
No related tags found
No related merge requests found
......@@ -16,12 +16,12 @@
<a {{ content_renderer.render_attr(attr, lang, extra_classes=[ns.relation], extra={"href": ns.fullurl, "title": {"value":title, "escape": true}, "target": target}) }}>
{%- if content is string or content is none -%}
{%- if content is string and content|length -%}
{{ content|e }}
<span>{{ content|e }}</span>
{%- else -%}
{%- if reftype == "tag" -%}
{{ tagcattitle|e }}
<span>{{ tagcattitle|e }}</span>
{%- elif reftype == "slug" -%}
{{ refpage.title|e }}
<span>{{ refpage.title|e }}</span>
{%- endif -%}
{%- endif -%}
{%- else -%}
......
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