Fix the blog page title (#331)
This commit is contained in:
parent
4465402a69
commit
585a188b24
|
|
@ -2,7 +2,16 @@
|
||||||
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
|
||||||
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
<meta http-equiv="X-UA-Compatible" content="IE=edge">
|
||||||
|
|
||||||
<title>{% if site.title == "blank" %}{{ site.first_name }} {{ site.middle_name }} {{ site.last_name }}{% else %}{{ site.title }}{% endif %}{% if page.title and page.url != "/" %} | {{ page.title }}{% endif %}</title>
|
<title>
|
||||||
|
{% if site.title == "blank" %}
|
||||||
|
{{ site.first_name }} {{ site.middle_name }} {{ site.last_name }}
|
||||||
|
{% else %}
|
||||||
|
{{ site.title }}
|
||||||
|
{% endif %}
|
||||||
|
{% if page.title != "blank" and page.url != "/" %}
|
||||||
|
| {{ page.title }}
|
||||||
|
{% endif %}
|
||||||
|
</title>
|
||||||
<meta name="description" content="{{ site.description }}">
|
<meta name="description" content="{{ site.description }}">
|
||||||
|
|
||||||
<!-- Open Graph -->
|
<!-- Open Graph -->
|
||||||
|
|
|
||||||
|
|
@ -1,5 +1,6 @@
|
||||||
---
|
---
|
||||||
layout: default
|
layout: default
|
||||||
|
title: blog
|
||||||
pagination:
|
pagination:
|
||||||
enabled: true
|
enabled: true
|
||||||
collection: posts
|
collection: posts
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue