Improved titles

This commit is contained in:
mathias 2019-07-30 22:30:13 +03:00
parent 95017d10cc
commit 7267fca351
5 changed files with 14 additions and 12 deletions

View file

@ -1,4 +1,5 @@
--- ---
layout: home layout: home
permalink: /404 permalink: /404
sitemap: false
--- ---

View file

@ -3,9 +3,12 @@ description: Kaboom is a multiplayer server for Minecraft that combines free OP
url: https://kaboom.pw url: https://kaboom.pw
exclude: exclude:
- Gemfile
- LICENSE - LICENSE
- README.md - README.md
sass: sass:
style: :compressed style: :compressed
gems:
- jekyll-feed
- jekyll-sitemap

View file

@ -6,7 +6,13 @@ layout: minify
<head> <head>
<meta charset="utf-8"> <meta charset="utf-8">
<title> <title>
{{ site.title }} - Free OP | Anarchy | Creative {% if page.title %}
{{ page.title }}
{% endif %}
{{ site.title }}
{% if page.title == null %}
- Free OP | Anarchy | Creative
{% endif %}
</title> </title>
<meta name="description" content="{{ site.description }}"> <meta name="description" content="{{ site.description }}">
<meta name="viewport" content="width=device-width, initial-scale=1"> <meta name="viewport" content="width=device-width, initial-scale=1">

View file

@ -1,5 +1,6 @@
--- ---
layout: main layout: main
title: News
--- ---
<article> <article>
<header> <header>
@ -8,7 +9,7 @@ layout: main
<path d="M11.67 3.87L9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z"/> <path d="M11.67 3.87L9.9 2.1 0 12l9.9 9.9 1.77-1.77L3.54 12z"/>
</svg> </svg>
</a> </a>
<h1>News</h1> <h1>{{ page.title }}</h1>
</header> </header>
<ul class="news"> <ul class="news">
{% for post in site.posts %} {% for post in site.posts %}

View file

@ -1,9 +0,0 @@
---
layout: minify
---
<?xml version="1.0" encoding="UTF-8"?>
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9">
<url>
<loc>{{ site.url }}</loc>
</url>
</urlset>