Fix <title> for pages without a title
This commit is contained in:
parent
178f414a92
commit
9702a5f3d8
1 changed files with 1 additions and 3 deletions
|
@ -16,9 +16,7 @@
|
||||||
{% assign canonical_url = page.url | replace: "index.html", "" | prepend: site.url %}
|
{% assign canonical_url = page.url | replace: "index.html", "" | prepend: site.url %}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if seo_title %}
|
<title>{{ seo_title | default: site.title }}</title>
|
||||||
<title>{{ seo_title }}</title>
|
|
||||||
{% endif %}
|
|
||||||
|
|
||||||
{% assign seo_description = page.description | default: page.excerpt | default: site.description %}
|
{% assign seo_description = page.description | default: page.excerpt | default: site.description %}
|
||||||
{% if seo_description %}
|
{% if seo_description %}
|
||||||
|
|
Loading…
Reference in a new issue