exclude google analytics when running under hugo local server
This commit is contained in:
		@@ -29,5 +29,8 @@
 | 
			
		||||
    {{ with .OutputFormats.Get "RSS" }}
 | 
			
		||||
    {{ printf `<link rel="%s" type="%s" href="%s" title="%s" />` .Rel .MediaType.Type .Permalink $.Site.Title | safeHTML }}
 | 
			
		||||
    {{ end }}
 | 
			
		||||
    {{ template "_internal/google_analytics.html" . }}
 | 
			
		||||
 | 
			
		||||
    {{- if not .Site.IsServer -}}
 | 
			
		||||
      {{ template "_internal/google_analytics.html" . }}
 | 
			
		||||
    {{- end -}}
 | 
			
		||||
</head>
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user