Updating my plausible footer
continuous-integration/drone/push Build is failing Details

drafts
Nick Dumas 6 months ago
parent 490b69a4bb
commit cda5c1781c

@ -1,4 +1,4 @@
baseURL = "https://blog.ndumas.com" BaseURL = "https://blog.ndumas.com"
languageCode = "en-us" languageCode = "en-us"
title = 'form and function' title = 'form and function'
# Add it only if you keep the theme in the `themes` directory. # Add it only if you keep the theme in the `themes` directory.
@ -79,6 +79,11 @@ enableGitInfo = true
creator = "" creator = ""
site = "" site = ""
[params.mastodon]
handle = "@nickdumas@fosstodon.org"
site = "https://fosstodon.org/@nickdumas"
[languages] [languages]
[languages.en] [languages.en]
languageName = "English" languageName = "English"

@ -1,3 +1,2 @@
{{ $trimmedURL := trim (index (split .Site.BaseURL "://") 1) "/" }} {{ $trimmedURL := trim (index (split .Site.BaseURL "://") 1) "/" }}
<script defer data-domain="{{$trimmedURL}}" src="https://{{.Site.Params.analyticsURL}}/js/script.js"></script> <script defer data-domain="{{$trimmedURL}}" src="https://{{.Site.Params.analyticsURL}}/js/script.js"></script>
<script>window.plausible = window.plausible || function() { (window.plausible.q = window.plausible.q || []).push(arguments) }</script>

Loading…
Cancel
Save