Add support for Fathom Analytics (#264)

* Add support for Fathom Analytics

* Add myself to CONTRIBUTORS.md

* Set default for serverURL and check for siteID

* Update layouts/_default/baseof.html

Co-Authored-By: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>

Co-authored-by: Luiz F. A. de Prá <luizdepra@users.noreply.github.com>
This commit is contained in:
Yash Mehrotra
2020-02-11 19:58:14 +05:30
committed by GitHub
parent 7dd37361a5
commit 93fb14e953
4 changed files with 24 additions and 0 deletions

View File

@@ -108,6 +108,10 @@
{{ template "_internal/google_analytics.html" . }}
{{ if and .Site.Params.fathomAnalytics .Site.Params.fathomAnalytics.siteID }}
{{- partial "analytics/fathom" . -}}
{{ end }}
</body>
</html>