mirror of
https://github.com/jakejarvis/jarv.is.git
synced 2025-10-27 19:15:48 -04:00
add meta robots tag to deploy previews to make extra sure they aren't indexed
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{{ partial "head/init" . -}}
|
||||
{{ partial "functions/init" . -}}
|
||||
{{ partial "head/meta" . -}}
|
||||
{{ partial "head/open-graph" . -}}
|
||||
{{ partialCached "head/mobile" . -}}
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
<meta charset="utf-8">
|
||||
{{ hugo.Generator }}
|
||||
{{ if ne hugo.Environment "production" }}<meta name="robots" content="noindex, nofollow">{{ end }}
|
||||
<title>{{ .Scratch.Get "plainTitle" }}{{ if not .IsHome }} – {{ .Site.Title }}{{ end }}</title>
|
||||
<meta name="description" content="{{ with .Description }}{{ . }}{{ else }}{{ .Site.Params.description }}{{ end }}">
|
||||
{{ with .Site.Author.name }}<meta name="author" content="{{ . }}">{{ end }}
|
||||
|
||||
Reference in New Issue
Block a user