1
0
Fork 0
forked from github/pelican

Strip HTML tags from SITENAME inside title tags. Fixes #3147 (#3149)

This commit is contained in:
Gullumluvl 2023-10-28 14:24:16 +02:00 committed by GitHub
commit dc427ad9d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
18 changed files with 28 additions and 28 deletions

View file

@ -1,7 +1,7 @@
{% extends "base.html" %}
{% block html_lang %}{{ article.lang }}{% endblock %}
{% block title %}{{ SITENAME }} - {{ article.title|striptags }}{% endblock %}
{% block title %}{{ SITENAME|striptags }} - {{ article.title|striptags }}{% endblock %}
{% block head %}
{{ super() }}