Env = production
This commit is contained in:
parent
8b558c0001
commit
50a26519df
@ -19,6 +19,7 @@ enableRobotsTXT = true
|
|||||||
ShowBreadCrumbs = true
|
ShowBreadCrumbs = true
|
||||||
ShowShareButtons = true
|
ShowShareButtons = true
|
||||||
author = "Tobias Manske"
|
author = "Tobias Manske"
|
||||||
|
env = "production"
|
||||||
twitter = "@rad4day"
|
twitter = "@rad4day"
|
||||||
description = "Blog about learning and technology by a KIT University Student"
|
description = "Blog about learning and technology by a KIT University Student"
|
||||||
[params.homeInfoParams]
|
[params.homeInfoParams]
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
{{- if hugo.IsProduction | or (eq .Site.Params.env "production") }}
|
{{- if hugo.IsProduction | or (eq .Site.Params.env "production") }}
|
||||||
<meta name="robots" content="index, follow">
|
<meta name="robots" content="index, follow">
|
||||||
{{- else }}
|
{{- else }}
|
||||||
<meta name=" robots" content="noindex, nofollow">
|
<meta name="robots" content="noindex, nofollow">
|
||||||
{{- end -}}
|
{{- end -}}
|
||||||
<!-- Title -->
|
<!-- Title -->
|
||||||
<title>{{ if .IsHome }}{{else}}{{ if .Title }}{{ .Title }} | {{ end }}{{end}}{{ .Site.Title }}</title>
|
<title>{{ if .IsHome }}{{else}}{{ if .Title }}{{ .Title }} | {{ end }}{{end}}{{ .Site.Title }}</title>
|
||||||
|
Loading…
Reference in New Issue
Block a user