Browse Source

Add google analytics?

sidenotes
Danila Fedorin 2 years ago
parent
commit
38c703f581
  1. 1
      config.toml
  2. 1
      themes/vanilla/layouts/partials/head.html

1
config.toml

@ -4,3 +4,4 @@ title = "Daniel's Blog"
theme = "vanilla"
pygmentsCodeFences = true
pygmentsStyle = "github"
googleAnalytics = "UA-145822895-1"

1
themes/vanilla/layouts/partials/head.html

@ -9,6 +9,7 @@
<link rel="stylesheet" href="{{ $style.Permalink }}">
<script src='https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.5/MathJax.js?config=TeX-MML-AM_CHTML' async></script>
{{ template "_internal/google_analytics.html" . }}
<title>{{ .Title }}</title>
</head>

Loading…
Cancel
Save