mirror of
https://github.com/gcushen/hugo-academic.git
synced 2025-07-26 19:15:16 +02:00
feat(seo): add default robots.txt with sitemap
Help automate adding new site to Google Search Console
This commit is contained in:
parent
70861b33c8
commit
514907d534
2 changed files with 4 additions and 0 deletions
|
@ -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
layouts/robots.txt
Normal file
3
layouts/robots.txt
Normal file
|
@ -0,0 +1,3 @@
|
|||
User-agent: *
|
||||
|
||||
Sitemap: {{ "sitemap.xml" | absURL }}
|
Loading…
Add table
Add a link
Reference in a new issue