diff --git a/web/extra/robots.txt b/web/extra/robots.txt new file mode 100644 index 0000000..77470cb --- /dev/null +++ b/web/extra/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: / \ No newline at end of file diff --git a/web/pelicanconf.py b/web/pelicanconf.py index 6ffd869..24d4954 100644 --- a/web/pelicanconf.py +++ b/web/pelicanconf.py @@ -59,4 +59,7 @@ CATEGORY_SAVE_AS = 'zone/{slug}/index.html' DELETE_OUTPUT_DIRECTORY = True -PLUGINS = ['geohash', 'geodata'] \ No newline at end of file +PLUGINS = ['geohash', 'geodata'] + +STATIC_PATHS = ['../extra/robots.txt'] +EXTRA_PATH_METADATA = {'../extra/robots.txt': {'path': 'robots.txt'},} \ No newline at end of file