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: - scope:
path: _posts path: _posts
values: values:
permalink: 'null' permalink: ''

View file

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