Index the website on prod builds

This commit is contained in:
James 2018-01-15 02:57:04 +11:00
parent 4faeed8150
commit 9e3e785eb1

View File

@ -22,8 +22,6 @@
<link rel="stylesheet" href="{{ .Site.BaseURL }}/css/style.css" /> <link rel="stylesheet" href="{{ .Site.BaseURL }}/css/style.css" />
{{ if eq (getenv "HUGO_ENV") "PRD" }} {{ if eq (getenv "HUGO_ENV") "PRD" }}
<meta name="robots" content="noindex,nofollow" />
<script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<script async src="https://www.googletagmanager.com/gtag/js?id={{ .Site.Params.GoogleAnalyticsTrackingId }}"></script> <script async src="https://www.googletagmanager.com/gtag/js?id={{ .Site.Params.GoogleAnalyticsTrackingId }}"></script>