Escape quotes in post excerpts

This commit is contained in:
eggy 2021-07-10 22:32:56 -04:00
parent 6aaa82c1e7
commit 7cf0b09f91

View File

@ -5,7 +5,7 @@
<meta name='viewport' content='width=device-width'>
<title>{{ title }} | {{ site.title }}</title>
<meta name="description" content="{% if post_excerpt %}{{ post_excerpt }}{% else %}{{ site.description }}{% endif %}">
<meta name="description" content="{% if post_excerpt %}{{ post_excerpt | escape }}{% else %}{{ site.description }}{% endif %}">
<meta name="theme-color" content="#ffffff"/>
<link rel="icon" type="image/png" sizes="32x32" href="/assets/img/favicon/favicon-32x32.png">