diff --git a/404.md b/404.md
index e38bfbfb0..69fd8ee62 100644
--- a/404.md
+++ b/404.md
@@ -1,6 +1,8 @@
---
layout: intro
title: Page not found
+permalink: /404.html
+
---
{% include base.html %}
diff --git a/_config.yml b/_config.yml
index 63c3bcc3c..9baf97fc7 100644
--- a/_config.yml
+++ b/_config.yml
@@ -1,11 +1,14 @@
# Site settings
-title: openHAB 2
+title: openHAB 2
description: Empowering the Smart Home
baseurl: "" # the subpath of your site, e.g. /blog/
url: "http://docs.openhab.org" # the base hostname & protocol for your site
twitter_username: openhab
github_username: openhab
-permalink: /404.html
# Build settings
markdown: kramdown
exclude: ["CNAME", "pom.xml", "README.md", "CONTRIBUTING.md"]
+# Additional gems for sitemap generation
+gems:
+ - jekyll-sitemap
+
\ No newline at end of file
diff --git a/_includes/header.html b/_includes/header.html
index f8463c511..c511d11ec 100644
--- a/_includes/header.html
+++ b/_includes/header.html
@@ -16,6 +16,7 @@
+