Fix #7: add ga internal template
This commit is contained in:
parent
eaec70ed4b
commit
a6c28e1b8d
@ -32,6 +32,7 @@ author: ""
|
||||
theme: "anubis"
|
||||
paginate: 10
|
||||
disqusShortname: yourdiscussshortname
|
||||
googleAnalytics: UA-123-45
|
||||
|
||||
menu:
|
||||
main:
|
||||
|
@ -39,3 +39,6 @@
|
||||
<!-- <meta name="twitter:url" content=""> -->
|
||||
<!-- <meta name="twitter:image" content=""> -->
|
||||
<meta name="twitter:site" content="@XXX">
|
||||
{{ if eq (getenv "HUGO_ENV") "production" | or (eq .Site.Params.env "production") }}
|
||||
{{ template "_internal/google_analytics_async.html" . }}
|
||||
{{ end }}
|
Loading…
Reference in New Issue
Block a user