added robots.txt
This commit is contained in:
parent
d7ff43d50c
commit
6bf88e4267
2 changed files with 5 additions and 0 deletions
|
|
@ -8,6 +8,7 @@ pygmentsCodeFenes = true
|
|||
pygmentsCodeFencesGuessSyntax = true
|
||||
enableEmoji = true
|
||||
enableGitInfo = true
|
||||
enableRobotsTXT = true
|
||||
|
||||
[frontmatter]
|
||||
date = ['date', 'publishDate', 'lastmod']
|
||||
|
|
|
|||
4
layouts/robots.txt
Normal file
4
layouts/robots.txt
Normal file
|
|
@ -0,0 +1,4 @@
|
|||
User-agent: *
|
||||
{{ range .Pages }}
|
||||
Disallow: {{ .RelPermalink }}
|
||||
{{ end }}
|
||||
Loading…
Reference in a new issue