From 97446b3f7af91ad37d486d16f2cb525e3b1656af Mon Sep 17 00:00:00 2001 From: mathias Date: Wed, 31 Jul 2019 00:26:31 +0300 Subject: [PATCH] Fix incorrect home title --- _config.yml | 2 +- _layouts/default.html | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/_config.yml b/_config.yml index 5bc4f50..cc2d356 100644 --- a/_config.yml +++ b/_config.yml @@ -14,4 +14,4 @@ defaults: - scope: path: _posts values: - permalink: 'null' + permalink: '' diff --git a/_layouts/default.html b/_layouts/default.html index 712adc0..4333457 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -7,10 +7,12 @@ layout: minify {% if page.title %} - {{ 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 %}