Skip to content

Commit

Permalink
meta description: use site description if page one is not provided
Browse files Browse the repository at this point in the history
  • Loading branch information
daattali authored Aug 8, 2020
1 parent 3579b04 commit 6784836
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions _includes/head.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit 6784836

Please sign in to comment.