feat(seo): add default robots.txt with sitemap

Help automate adding new site to Google Search Console
This commit is contained in:
George Cushen committed 2020-09-02 20:28:21 +01:00
1 parent 70861b33c8
commit 514907d534
2 files changed
+4

No files matched your search

+1
View File
@@ -35,6 +35,7 @@ removePathAccents = true # Workaround for https://github.com/gohugoio/hugo/issu
summaryLength = 30 # Listing summary length in words. Also, see `abstract_length` in `params.toml`.
paginate = 10 # Number of items per page in paginated lists.
enableEmoji = true
enableRobotsTXT = true
footnotereturnlinkcontents = "<sup>^</sup>"
ignoreFiles = ["\\.ipynb$", ".ipynb_checkpoints$", "\\.Rmd$", "\\.Rmarkdown$", "_files$", "_cache$"]
+3
View File
@@ -0,0 +1,3 @@
User-agent: *
Sitemap: {{ "sitemap.xml" | absURL }}