Browse Source

Add link to sitemap to robots.txt

index-subcmd
Vincent Prouillet 5 years ago
parent
commit
9beaa26023
2 changed files with 2 additions and 0 deletions
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -0
      components/templates/src/builtins/robots.txt

+ 1
- 0
CHANGELOG.md View File

@@ -19,6 +19,7 @@ rendering it and not anymore on the `page`/`section` variable
- Fix using inline styles in headers
- Fix sections with render=false being shown in sitemap
- 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)


+ 1
- 0
components/templates/src/builtins/robots.txt View File

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

Loading…
Cancel
Save