Fix incorrect home title

This commit is contained in:
mathias 2019-07-31 00:26:31 +03:00
parent 15b1716773
commit 97446b3f7a
2 changed files with 5 additions and 3 deletions

View file

@ -14,4 +14,4 @@ defaults:
- scope:
path: _posts
values:
permalink: 'null'
permalink: ''

View file

@ -7,10 +7,12 @@ layout: minify
<meta charset="utf-8">
<title>
{% if page.title %}
{% unless page.url == "/" %}
{{ page.title }}
{% endunless %}
{% endif %}
{{ site.title }}
{% if page.title == null %}
{% if page.title == null or page.url == "/" %}
- Free OP | Anarchy | Creative
{% endif %}
</title>