add meta robots tag to deploy previews to make extra sure they aren't indexed

This commit is contained in:
jake committed 2020-10-18 10:50:43 -04:00
1 parent 82d8888a29
commit c8f5598452
9 files changed
+477 -500

No files matched your search

+1
View File
@@ -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 }}