1
0
mirror of https://github.com/alanorth/hugo-theme-bootstrap4-blog.git synced 2024-11-16 01:07:03 +01:00
hugo-theme-bootstrap4-blog/layouts/robots.txt
Alan Orth d6d94ff087
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/
2016-09-21 22:37:39 +03:00

4 lines
55 B
Plaintext

Sitemap: {{ .Site.BaseURL }}sitemap.xml
User-agent: *