From 7267fca351ccb4e76965ca145765c428bbf15191 Mon Sep 17 00:00:00 2001 From: mathias Date: Tue, 30 Jul 2019 22:30:13 +0300 Subject: [PATCH] Improved titles --- 404.html | 1 + _config.yml | 5 ++++- _layouts/main.html | 8 +++++++- news.html | 3 ++- sitemap.xml | 9 --------- 5 files changed, 14 insertions(+), 12 deletions(-) delete mode 100644 sitemap.xml diff --git a/404.html b/404.html index 344ab59..edee8da 100644 --- a/404.html +++ b/404.html @@ -1,4 +1,5 @@ --- layout: home permalink: /404 +sitemap: false --- diff --git a/_config.yml b/_config.yml index 1d7f329..4c396f8 100644 --- a/_config.yml +++ b/_config.yml @@ -3,9 +3,12 @@ description: Kaboom is a multiplayer server for Minecraft that combines free OP url: https://kaboom.pw exclude: - - Gemfile - LICENSE - README.md sass: style: :compressed + +gems: + - jekyll-feed + - jekyll-sitemap diff --git a/_layouts/main.html b/_layouts/main.html index 8e8fc04..8731709 100644 --- a/_layouts/main.html +++ b/_layouts/main.html @@ -6,7 +6,13 @@ layout: minify - {{ site.title }} - Free OP | Anarchy | Creative + {% if page.title %} + {{ page.title }} – + {% endif %} + {{ site.title }} + {% if page.title == null %} + - Free OP | Anarchy | Creative + {% endif %} diff --git a/news.html b/news.html index 5b72a27..6920acb 100644 --- a/news.html +++ b/news.html @@ -1,5 +1,6 @@ --- layout: main +title: News ---
@@ -8,7 +9,7 @@ layout: main -

News

+

{{ page.title }}