From cf34b29b0144ecbfc58e2d86e175f4a9cc295e95 Mon Sep 17 00:00:00 2001 From: Horus Date: Tue, 22 Mar 2016 16:03:48 +0100 Subject: Fügt rel='nofollow' ein und aktualisiert sitemap + robots.txt. --- gospeladlershof.de/content/impressum.md | 1 + gospeladlershof.de/layouts/partials/footer.tmpl | 6 +++--- gospeladlershof.de/layouts/partials/navbar.tmpl | 2 +- gospeladlershof.de/layouts/sitemap.xml | 12 ++++++++++++ gospeladlershof.de/static/robots.txt | 1 + 5 files changed, 18 insertions(+), 4 deletions(-) create mode 100644 gospeladlershof.de/layouts/sitemap.xml diff --git a/gospeladlershof.de/content/impressum.md b/gospeladlershof.de/content/impressum.md index 215d36e..9fcb517 100644 --- a/gospeladlershof.de/content/impressum.md +++ b/gospeladlershof.de/content/impressum.md @@ -2,4 +2,5 @@ type: "impressum" layout: "single" title: "Gospelchor Adlershof - Impressum" +noindex: 1 --- diff --git a/gospeladlershof.de/layouts/partials/footer.tmpl b/gospeladlershof.de/layouts/partials/footer.tmpl index b27197f..252e9f5 100644 --- a/gospeladlershof.de/layouts/partials/footer.tmpl +++ b/gospeladlershof.de/layouts/partials/footer.tmpl @@ -2,12 +2,12 @@ diff --git a/gospeladlershof.de/layouts/partials/navbar.tmpl b/gospeladlershof.de/layouts/partials/navbar.tmpl index fd77960..2bb111f 100644 --- a/gospeladlershof.de/layouts/partials/navbar.tmpl +++ b/gospeladlershof.de/layouts/partials/navbar.tmpl @@ -33,7 +33,7 @@ Intern
  • - Impressum + Impressum
  • diff --git a/gospeladlershof.de/layouts/sitemap.xml b/gospeladlershof.de/layouts/sitemap.xml new file mode 100644 index 0000000..05d8523 --- /dev/null +++ b/gospeladlershof.de/layouts/sitemap.xml @@ -0,0 +1,12 @@ + + {{ range .Data.Pages }} + {{if eq .Params.noindex 1 | not}} + + {{ .Permalink }} + {{ safeHTML ( .Date.Format "2006-01-02T15:04:05-07:00" ) }}{{ with .Sitemap.ChangeFreq }} + {{ . }}{{ end }}{{ if ge .Sitemap.Priority 0.0 }} + {{ .Sitemap.Priority }}{{ end }} + + {{ end }} + {{ end }} + diff --git a/gospeladlershof.de/static/robots.txt b/gospeladlershof.de/static/robots.txt index fc0b8b1..18602c9 100644 --- a/gospeladlershof.de/static/robots.txt +++ b/gospeladlershof.de/static/robots.txt @@ -5,6 +5,7 @@ # The order is important! https://xkcd.com/1613/ User-agent: * +Disallow: /impressum/ Disallow: /termine.json Disallow: /termine.lua Disallow: /api/ -- cgit v1.2.3