added very permissive robots
This commit is contained in:
parent
75d03837cf
commit
221fb3039e
2 changed files with 4 additions and 1 deletions
|
|
@ -3,6 +3,7 @@ languageCode = "en-us"
|
|||
title = "Warwick New"
|
||||
theme = "warwick_portfolio"
|
||||
pluralizeListTitles = false
|
||||
enableRobotsTXT = true
|
||||
|
||||
[Author]
|
||||
name = "Warwick New"
|
||||
|
|
@ -13,4 +14,3 @@ home = ['html']
|
|||
section = ['html', 'rss']
|
||||
taxonomy = ['html']
|
||||
term = ['html']
|
||||
|
||||
|
|
|
|||
3
themes/warwick_portfolio/layouts/robots.txt
Normal file
3
themes/warwick_portfolio/layouts/robots.txt
Normal file
|
|
@ -0,0 +1,3 @@
|
|||
User-agent: *
|
||||
Allow: / {{ range site.RegularPages }}
|
||||
Allow: {{ .RelPermalink }} {{ end }}
|
||||
Loading…
Reference in a new issue