diff options
author | Byeonggon Lee <gonny952@gmail.com> | 2018-11-28 19:45:46 +0300 |
---|---|---|
committer | Byeonggon Lee <gonny952@gmail.com> | 2018-11-28 19:45:46 +0300 |
commit | 9b331b9f4f5039b98cdbe6564385e4132707f379 (patch) | |
tree | 738fd6498d9aa8cbf57aab2d433f58fc1c852971 | |
parent | f14f00bad986e1a39ca769cba39539d71091c6ff (diff) |
Google analytics support
-rw-r--r-- | layouts/_default/baseof.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 5cde484..b8174ad 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -35,6 +35,9 @@ {{- block "main" . }}{{- end }} </div> <script>hljs.initHighlightingOnLoad();</script> + {{- if not (eq .Site.GoogleAnalytics "") -}} + {{ template "_internal/google_analytics_async.html" . }} + {{- end -}} </body> </html> |