mirror of
https://github.com/13hannes11/hugo-coder-timeline.git
synced 2024-09-04 00:50:58 +02:00
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:
@@ -108,6 +108,10 @@
|
||||
|
||||
{{ template "_internal/google_analytics.html" . }}
|
||||
|
||||
{{ if and .Site.Params.fathomAnalytics .Site.Params.fathomAnalytics.siteID }}
|
||||
{{- partial "analytics/fathom" . -}}
|
||||
{{ end }}
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user