Set post excerpt as meta description when available
This commit is contained in:
1 parent
5806ef343b
commit
11f88bbd03
2 files changed
+2
-2
No files matched your search
@@ -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">
|
||||
|
||||
Reference in new issue
Block a user