Env = production

This commit is contained in:
Tobias Manske 2022-01-23 03:13:45 +01:00
parent 8b558c0001
commit 50a26519df
Signed by: tobias
GPG Key ID: D5914DC71F2F9352
2 changed files with 2 additions and 1 deletions

View File

@ -19,6 +19,7 @@ enableRobotsTXT = true
ShowBreadCrumbs = true
ShowShareButtons = true
author = "Tobias Manske"
env = "production"
twitter = "@rad4day"
description = "Blog about learning and technology by a KIT University Student"
[params.homeInfoParams]

View File

@ -4,7 +4,7 @@
{{- if hugo.IsProduction | or (eq .Site.Params.env "production") }}
<meta name="robots" content="index, follow">
{{- else }}
<meta name=" robots" content="noindex, nofollow">
<meta name="robots" content="noindex, nofollow">
{{- end -}}
<!-- Title -->
<title>{{ if .IsHome }}{{else}}{{ if .Title }}{{ .Title }} | {{ end }}{{end}}{{ .Site.Title }}</title>