Add support of Cloudflare Web Analytics (#492)

* Add support of Cloudflare Web Analytics

* Update exampleSite/config.toml

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:
YUJI
2020-12-15 16:38:06 -03:00
committed by GitHub
co-authored by Luiz F. A. de Prá
parent 94a11b8b15
commit dbe21a7fdf
4 changed files with 19 additions and 0 deletions
+4
View File
@@ -139,6 +139,10 @@
{{ if and .Site.Params.goatCounter .Site.Params.goatCounter.code }}
{{- partial "analytics/goatcounter" . -}}
{{ end }}
{{ if and .Site.Params.cloudflare .Site.Params.cloudflare.token }}
{{- partial "analytics/cloudflare" . -}}
{{ end }}
</body>
</html>