general cleanups
This commit is contained in:
parent
881671fbfe
commit
20a4458c0a
2 changed files with 1 additions and 4 deletions
|
@ -2,8 +2,6 @@
|
|||
<link rel="stylesheet" type="text/css" href="{{ "assets/hugo-matomo.css" | absURL }}" />
|
||||
<!-- Matomo -->
|
||||
<script type="text/javascript">
|
||||
matomoHostURL = "{{- .Site.Params.matomo.url -}}";
|
||||
matomoSiteId = {{- .Site.Params.matomo.id -}};
|
||||
var _paq = window._paq = window._paq || [];
|
||||
/* tracker methods like "setCustomDimension" should be called before "trackPageView" */
|
||||
{{ if and (isset .Site.Params.matomo "disablecookies") (eq .Site.Params.matomo.disablecookies true) }}
|
||||
|
@ -19,7 +17,6 @@
|
|||
_paq.push(['enableLinkTracking']);
|
||||
(function() {
|
||||
var u="{{- .Site.Params.matomo.url -}}/";
|
||||
var id=
|
||||
_paq.push(['setTrackerUrl', u+'matomo.php']);
|
||||
_paq.push(['setSiteId', '{{- .Site.Params.matomo.id -}}']);
|
||||
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
.consentCookieButton {
|
||||
border-style: outset;
|
||||
border-width: unset;
|
||||
border-width: 2px;
|
||||
padding: 0 10px 0 10px;
|
||||
margin-left: 20px;
|
||||
}
|
Loading…
Reference in a new issue