about summary refs log tree commit diff stats
path: root/templates/robots.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/robots.tmpl')
-rw-r--r--templates/robots.tmpl6
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 }}