summaryrefslogtreecommitdiff
path: root/layouts/robots.txt
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/robots.txt')
-rw-r--r--layouts/robots.txt7
1 files changed, 3 insertions, 4 deletions
diff --git a/layouts/robots.txt b/layouts/robots.txt
index 14b953c..634c39a 100644
--- a/layouts/robots.txt
+++ b/layouts/robots.txt
@@ -1,5 +1,4 @@
-# robots.txt
User-agent: *
-Disallow:
-Disallow: /cgi-bin/
-
+{{ range .Pages }}
+Disallow: {{ .RelPermalink }}
+{{ end }}