Add a robots.txt
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Sam A. 2022-06-14 15:15:48 +02:00
parent 9ad76431da
commit 70a634b131
Signed by: samsapti
GPG key ID: CBBBE7371E81C4EA
2 changed files with 5 additions and 0 deletions

View file

@ -7,6 +7,7 @@ pygmentsStyle = "dracula"
pygmentsCodeFences = true pygmentsCodeFences = true
pygmentsCodeFencesGuessSyntax = true pygmentsCodeFencesGuessSyntax = true
enableEmoji = true enableEmoji = true
enableRobotsTXT = true
[taxonomies] [taxonomies]
series = "series" series = "series"

4
layouts/robots.txt Normal file
View file

@ -0,0 +1,4 @@
User-agent: *
{{ range .Pages }}
Disallow: {{ .RelPermalink }}
{{ end }}