mirror of
				https://github.com/Wonderfall/hugo-WonderMod.git
				synced 2025-10-31 03:45:24 +01:00 
			
		
		
		
	Merge pull request #9 from cemeng/master
🏗️ Add Google analytics support
			
			
This commit is contained in:
		| @@ -33,6 +33,9 @@ | |||||||
|   <meta name="generator" content="Hugo {{ .Hugo.Version }}"> |   <meta name="generator" content="Hugo {{ .Hugo.Version }}"> | ||||||
|   <!-- RSS --> |   <!-- RSS --> | ||||||
|   <link rel="alternate" type="application/atom+xml" href="{{.Site.BaseURL}}index.xml" title="{{ .Site.Title }}"> |   <link rel="alternate" type="application/atom+xml" href="{{.Site.BaseURL}}index.xml" title="{{ .Site.Title }}"> | ||||||
|  |   {{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production")  }} | ||||||
|  |     {{ template "_internal/google_analytics_async.html" . }} | ||||||
|  |   {{ end }} | ||||||
| </head> | </head> | ||||||
| <body class="{{if eq .Kind `page` }}single{{else}}list{{ if .IsHome }} home{{ end }}{{end}}"> | <body class="{{if eq .Kind `page` }}single{{else}}list{{ if .IsHome }} home{{ end }}{{end}}"> | ||||||
|   <header class="header"> |   <header class="header"> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 南小北
					南小北