Add link to sitemap to robots.txt

This commit is contained in:
Vincent Prouillet 2019-03-14 21:30:53 +01:00
parent 7baf08cef2
commit 9beaa26023
2 changed files with 2 additions and 0 deletions

View file

@ -19,6 +19,7 @@ rendering it and not anymore on the `page`/`section` variable
- Fix using inline styles in headers - Fix using inline styles in headers
- Fix sections with render=false being shown in sitemap - Fix sections with render=false being shown in sitemap
- Sitemap is now split when there are more than 30 000 links in it - Sitemap is now split when there are more than 30 000 links in it
- Add link to sitemap in robots.txt
## 0.5.1 (2018-12-14) ## 0.5.1 (2018-12-14)

View file

@ -1 +1,2 @@
User-agent: * User-agent: *
Sitemap: {{ get_url(path="sitemap.xml") }}