generate sitemap and robots.txt
1 file changed, 6 insertions(+), 0 deletions(-)
changed files
A templates/robots.tmpl
@@ -0,0 +1,6 @@ +User-agent: * +Disallow: +{{- with .BaseURL }} +Host: {{ .Hostname }} +Sitemap: {{ .JoinPath "/sitemap.xml" }} +{{- end }}