mirror of
https://github.com/alanorth/hugo-theme-bootstrap4-blog.git
synced 2024-12-19 00:52:19 +01:00
Add robots.txt template
Advertises the XML sitemap and allows all user agents, but is only enabled if the site sets this property in their config: enableRobotsTXT = true See: https://gohugo.io/extras/robots-txt/
This commit is contained in:
parent
92b95a2670
commit
d6d94ff087
3
layouts/robots.txt
Normal file
3
layouts/robots.txt
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
Sitemap: {{ .Site.BaseURL }}sitemap.xml
|
||||||
|
|
||||||
|
User-agent: *
|
Loading…
Reference in New Issue
Block a user