Skip to content
Snippets Groups Projects
Commit c3f26af3 authored by Jake's avatar Jake :speech_balloon:
Browse files

strip tags in title

parent c7460a04
No related branches found
No related tags found
No related merge requests found
Pipeline #313626 passed
{% extends "base.html" %} {% extends "base.html" %}
{% block title %}{{ render.softbreak_span(page.title) }}{% endblock %} {% block title %}{{ render.softbreak_span(page.title)|striptags }}{% endblock %}
{% block extra_head %} {% block extra_head %}
{%- for translation in page.translations -%} {%- for translation in page.translations -%}
......
{% extends "base.html" %} {% extends "base.html" %}
{% block title -%} {% block title -%}
{%- call(tagtitle, tagcolor, tagurl, tagpage, tagpages) get.tag_by_name(tag, l) -%} {%- call(tagtitle, tagcolor, tagurl, tagpage, tagpages) get.tag_by_name(tag, l) -%}
{{ t[l].title_prefix }}{{ t[l].sitename }}{{ t[l].title_suffix }} - {{ render.softbreak_span(tagtitle) }} {{ t[l].title_prefix }}{{ t[l].sitename }}{{ t[l].title_suffix }} - {{ render.softbreak_span(tagtitle)|striptags }}
{%- endcall -%} {%- endcall -%}
{%- endblock -%} {%- endblock -%}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment