Skip to content

Commit

Permalink
✨ feat(seo): Add robots.txt layout and config (#189)
Browse files Browse the repository at this point in the history
  • Loading branch information
vvatelot authored Dec 15, 2022
1 parent 0a4c256 commit bbed279
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions config/_default/config.toml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,8 @@ _merge = "deep"

baseURL = "https://www.ecoindex.fr/"

enableRobotsTXT = true

title = "EcoIndex.fr"

defaultContentLanguage = "fr"
Expand Down
3 changes: 3 additions & 0 deletions layouts/robots.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
User-agent: *

Sitemap: {{ "sitemap.xml" | absLangURL }}

0 comments on commit bbed279

Please sign in to comment.