only include description meta tag when there is a page-specific description
This commit is contained in:
parent
db17385d13
commit
12cd7369f4
@ -6,7 +6,10 @@
|
|||||||
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
<title>{% if page.title %}{{ page.title }}{% else %}{{ site.title }}{% endif %}</title>
|
||||||
|
|
||||||
<meta name="author" content="{{ site.author.name }}" />
|
<meta name="author" content="{{ site.author.name }}" />
|
||||||
<meta name="description" content="{% if page.subtitle %}{{ page.subtitle }}{% else %}{{ site.description }}{% endif %}">
|
|
||||||
|
{% if page.subtitle %}
|
||||||
|
<meta name="description" content="{{ page.subtitle }}">
|
||||||
|
{% endif %}
|
||||||
|
|
||||||
<link rel="alternate" type="application/rss+xml" title="{{ site.title }} - {{ site.description }}" href="{{ site.baseurl }}/feed.xml" />
|
<link rel="alternate" type="application/rss+xml" title="{{ site.title }} - {{ site.description }}" href="{{ site.baseurl }}/feed.xml" />
|
||||||
|
|
||||||
@ -64,4 +67,4 @@
|
|||||||
<meta property="og:image" content="" />
|
<meta property="og:image" content="" />
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
</head>
|
</head>
|
||||||
|
Loading…
Reference in New Issue
Block a user