diff options
Diffstat (limited to 'layouts')
| -rw-r--r-- | layouts/robots.txt | 7 |
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 }} |
