diff options
Diffstat (limited to 'templates/robots.tmpl')
-rw-r--r-- | templates/robots.tmpl | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/templates/robots.tmpl b/templates/robots.tmpl new file mode 100644 index 0000000..8ccad4d --- /dev/null +++ b/templates/robots.tmpl @@ -0,0 +1,6 @@ +User-agent: * +Disallow: +{{- with .BaseURL }} +Host: {{ .Hostname }} +Sitemap: {{ .JoinPath "/sitemap.xml" }} +{{- end }} |