aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <dave@sleepmap.de>2019-04-20 00:15:11 +0200
committerDavid Runge <dave@sleepmap.de>2019-04-20 00:15:11 +0200
commit39e55e0ada9caf4e960451905ae50fc6bd110a84 (patch)
treedf45d4ada52625641a3c9e3742844aac8a387167
parent09221e5dad79e5c106384e7e8847b9f53848774b (diff)
downloadsleepmap-39e55e0ada9caf4e960451905ae50fc6bd110a84.tar.gz
sleepmap-39e55e0ada9caf4e960451905ae50fc6bd110a84.tar.bz2
sleepmap-39e55e0ada9caf4e960451905ae50fc6bd110a84.tar.xz
sleepmap-39e55e0ada9caf4e960451905ae50fc6bd110a84.zip
conf.py: Disallow access to impressum/about page via robots.txt.
-rw-r--r--conf.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/conf.py b/conf.py
index c432001..e54ac39 100644
--- a/conf.py
+++ b/conf.py
@@ -1030,7 +1030,7 @@ STRIP_INDEXES = True
# from indexing and other robotic spidering. * is supported. Will only be effective
# if SITE_URL points to server root. The list is used to exclude resources from
# /robots.txt and /sitemap.xml, and to inform search engines about /sitemapindex.xml.
-# ROBOTS_EXCLUSIONS = ["/archive.html", "/category/*.html"]
+ROBOTS_EXCLUSIONS = ["/archive.html", "/category/*.html", "/about/index.html", "/impressum/index.html"]
# Instead of putting files in <slug>.html, put them in <slug>/index.html.
# No web server configuration is required. Also enables STRIP_INDEXES.