mirror of
https://github.com/adityatelange/hugo-PaperMod.git
synced 2023-12-21 10:22:58 +01:00
Merge pull request #9 from cemeng/master
🏗️ Add Google analytics support
This commit is contained in:
commit
1750b5b354
@ -33,6 +33,9 @@
|
||||
<meta name="generator" content="Hugo {{ .Hugo.Version }}">
|
||||
<!-- RSS -->
|
||||
<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>
|
||||
<body class="{{if eq .Kind `page` }}single{{else}}list{{ if .IsHome }} home{{ end }}{{end}}">
|
||||
<header class="header">
|
||||
|
Loading…
Reference in New Issue
Block a user