From 39e55e0ada9caf4e960451905ae50fc6bd110a84 Mon Sep 17 00:00:00 2001 From: David Runge Date: Sat, 20 Apr 2019 00:15:11 +0200 Subject: conf.py: Disallow access to impressum/about page via robots.txt. --- conf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 .html, put them in /index.html. # No web server configuration is required. Also enables STRIP_INDEXES. -- cgit v1.2.3-70-g09d2