Commit bb212f4e authored by Jérôme Ortais's avatar Jérôme Ortais

Ajout d'un fichier robots.txt

parent 6ab2c2fa
Pipeline #73393 passed with stages
in 26 seconds
User-agent : *
Allow : /
Sitemap : https://www.pyromaths.org/sitemap.xml
......@@ -2,7 +2,7 @@
AUTHOR = 'Jérôme'
SITENAME = 'Pyromaths'
SITEURL = ''
SITEURL = 'https://www.pyromaths.org'
# can be useful in development, BUT SET TO FALSE WHEN YOU'RE READY TO PUBLISH
RELATIVE_URLS = True
......@@ -17,8 +17,12 @@ STATIC_PATHS = [
'images',
'/files/js',
'/files/styles',
'extra/robots.txt'
]
EXTRA_PATH_METADATA = {
'extra/robots.txt': {'path': 'robots.txt'},
}
TIMEZONE = 'Europe/Paris'
DEFAULT_DATE_FORMAT = '%d %b %y'
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment