Add striptags filter to description meta header
Thanks @PontusHorn
This commit is contained in:
parent
5533b07531
commit
a7fd853f8f
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
|
||||
<title>{% if meta.title %}{{ meta.title }} | {% endif %}{{ site_title }}</title>
|
||||
{% if meta.description %}
|
||||
<meta name="description" content="{{ meta.description }}">
|
||||
<meta name="description" content="{{ meta.description|striptags }}">
|
||||
{% endif %}{% if meta.robots %}
|
||||
<meta name="robots" content="{{ meta.robots }}">
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in a new issue