Set post excerpt as meta description when available

This commit is contained in:
eggy committed 2021-07-10 22:16:06 -04:00
1 parent 5806ef343b
commit 11f88bbd03
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -5,7 +5,7 @@
<meta name='viewport' content='width=device-width'>
<title>{{ title }} | {{ site.title }}</title>
<meta name="description" content="{{ site.description }}">
<meta name="description" content="{% if post_excerpt %}{{ post_excerpt }}{% 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">