Skip to content
Snippets Groups Projects
Commit c3f26af3 authored by Jake's avatar Jake
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" %}
{% block title %}{{ render.softbreak_span(page.title) }}{% endblock %}
{% block title %}{{ render.softbreak_span(page.title)|striptags }}{% endblock %}
{% block extra_head %}
{%- for translation in page.translations -%}
......
{% extends "base.html" %}
{% block title -%}
{%- 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 -%}
{%- endblock -%}
......
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