This commit is contained in:
Roneo.org
2023-12-16 05:32:36 -08:00
committed by GitHub
8 changed files with 34 additions and 20 deletions

View File

@ -1,7 +1,7 @@
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
{{- if hugo.IsProduction | or (eq site.Params.env "production") | and (ne .Params.robotsNoIndex true) }}
{{- if hugo.IsProduction | or (eq site.Params.env "production") | and (ne .Params.offTheRecord true) (ne .Params.robotsNoIndex true) }}
<meta name="robots" content="index, follow">
{{- else }}
<meta name="robots" content="noindex, nofollow">