meta description: use site description if page one is not provided

This commit is contained in:
Dean Attali 2020-08-08 18:32:36 -04:00 committed by GitHub
parent 3579b04705
commit 67848364f3
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -12,6 +12,8 @@
<meta name="description" content="{{ page.description }}">
{% elsif page.subtitle %}
<meta name="description" content="{{ page.subtitle }}">
{% elsif site.description %}
<meta name="description" content="{{ site.description }}">
{% endif %}
{% if site.mobile-theme-col %}