From 91420a3a4997f5d87246fbf1bbfacb56ba691127 Mon Sep 17 00:00:00 2001 From: David Runge Date: Mon, 28 Mar 2016 21:31:50 +0200 Subject: pelicanconf.py: Adding static/robots.txt to static path --- pelicanconf.py | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/pelicanconf.py b/pelicanconf.py index 1fba668..0be8a3b 100644 --- a/pelicanconf.py +++ b/pelicanconf.py @@ -50,7 +50,16 @@ SOCIAL = ( ('Github', 'https://github.com/dvzrv'), ('Twitter', 'https://twitter.com/dvzrv'), ) -STATIC_PATHS = [ 'icons', 'images', 'cert' ] +STATIC_PATHS = [ + 'icons', + 'images', + 'cert', + 'static/robots.txt', +] +EXTRA_PATH_METADATA = { + 'static/robots.txt': {'path': 'robots.txt'}, +} + THEME = 'sleepmap-theme' TIMEZONE = 'Europe/Berlin' TRANSLATION_FEED_ATOM = None -- cgit v1.2.3-70-g09d2