This commit is contained in:
randogoth 2023-05-22 12:14:17 +03:00
parent 37a755025d
commit fb05fbc128
2 changed files with 6 additions and 1 deletions

2
web/extra/robots.txt Normal file
View file

@ -0,0 +1,2 @@
User-agent: *
Disallow: /

View file

@ -60,3 +60,6 @@ CATEGORY_SAVE_AS = 'zone/{slug}/index.html'
DELETE_OUTPUT_DIRECTORY = True
PLUGINS = ['geohash', 'geodata']
STATIC_PATHS = ['../extra/robots.txt']
EXTRA_PATH_METADATA = {'../extra/robots.txt': {'path': 'robots.txt'},}