Migrate to umami v2
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
nemunaire 2023-07-12 10:41:06 +02:00
commit a627d9f1c5
12 changed files with 27 additions and 27 deletions

View file

@ -34,7 +34,7 @@
<div class="nav-item nav-ext-links">
{{ range .Site.Data.social.social_icons }}
{{- if isset $.Site.Author .id }}
<a class="nav-icon-link link-rounded umami--click--{{ .id }}" href="{{ printf .url (index $.Site.Author .id) }}" title="{{ .title }}"><i class="bi {{ .icon }}"></i></a>
<a class="nav-icon-link link-rounded" data-umami-event="{{ .id }}" href="{{ printf .url (index $.Site.Author .id) }}" title="{{ .title }}"><i class="bi {{ .icon }}"></i></a>
{{- end -}}
{{ end }}
{{ if .Site.Params.rss }}
@ -47,7 +47,7 @@
</a>
{{ end }}
{{ if .Site.Params.tryit }}
<a href="{{ .Site.Params.tryit }}" title="{{ i18n "tryhappydns" }}" class="nav-icon-link link-rounded umami--click--nav-tryit">
<a href="{{ .Site.Params.tryit }}" title="{{ i18n "tryhappydns" }}" class="nav-icon-link link-rounded" data-umami-event="nav-tryit">
<i class="bi bi-arrow-right"></i>
</a>
{{ end }}