forked from mirror/Mainroad
extend head with keywords and norobots stuff
This commit is contained in:
parent
d0894580e1
commit
f8943403ec
1 changed files with 2 additions and 0 deletions
|
@ -1,4 +1,6 @@
|
|||
<meta name="description" content="{{ if .IsHome }}{{ .Site.Params.description }}{{ else }}{{ .Params.Description }}{{ end }}">
|
||||
<meta name="keywords" content="{{ if .IsHome }}{{ delimit .Site.Params.keywords "," }}{{ else if .Params.tags }}{{ delimit .Params.tags "," }}{{ end }}">
|
||||
{{ with .Params.robotsdisallow }}<meta name="robots" content="noindex, nofollow, noarchive">{{ end }}
|
||||
|
||||
{{- if .Site.Params.opengraph }}
|
||||
{{ template "_internal/opengraph.html" . }}
|
||||
|
|
Loading…
Add table
Reference in a new issue