Merge branch 'adityatelange:master' into master

This commit is contained in:
Wen 2022-05-22 22:49:39 +08:00 committed by GitHub
commit 737bc3caf6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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