Change piwik to Matamo where it does not distrupt anything.
This commit is contained in:
parent
651783d6f9
commit
1574087acb
3 changed files with 6 additions and 4 deletions
|
|
@ -11,7 +11,7 @@ The [old branch](https://github.com/frjo/hugo-theme-zen/tree/old) has the origin
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
* A mobile menu
|
* A mobile menu
|
||||||
* Analytics with Piwik
|
* Analytics with Matamo (Piwik)
|
||||||
* Automatic linting of css and js
|
* Automatic linting of css and js
|
||||||
* Contact form (PHP)
|
* Contact form (PHP)
|
||||||
* CSS grid and flex for layout
|
* CSS grid and flex for layout
|
||||||
|
|
@ -88,8 +88,8 @@ params:
|
||||||
logo: false # Turn off the logo.
|
logo: false # Turn off the logo.
|
||||||
microUsername: "" # Your micro.blog username.
|
microUsername: "" # Your micro.blog username.
|
||||||
mobileMenu: true # Turn on a mobile menu on small screens.
|
mobileMenu: true # Turn on a mobile menu on small screens.
|
||||||
piwikSiteId: # Piwik site id
|
piwikSiteId: # Matamo site id
|
||||||
piwikTrackerUrl: "" # Piwik url, schemaless and no slash on end (example.com/piwik).
|
piwikTrackerUrl: "" # Matamo url, schemaless and no slash on end (example.com/matamo).
|
||||||
poweredby: true # Show powered by hugo in footer
|
poweredby: true # Show powered by hugo in footer
|
||||||
search: true # Site search with DuckDuckGo.
|
search: true # Site search with DuckDuckGo.
|
||||||
searchSize: 20 # Search field size, default 20.
|
searchSize: 20 # Search field size, default 20.
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,4 @@
|
||||||
|
<!-- Matomo -->
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
var _paq = _paq || [];
|
var _paq = _paq || [];
|
||||||
_paq.push(['trackPageView']);
|
_paq.push(['trackPageView']);
|
||||||
|
|
@ -10,3 +11,4 @@
|
||||||
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
|
||||||
})();
|
})();
|
||||||
</script>
|
</script>
|
||||||
|
<!-- End Matomo Code -->
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@ homepage = "https://github.com/frjo/hugo-theme-zen"
|
||||||
license = "GPLv2"
|
license = "GPLv2"
|
||||||
licenselink = "http://www.gnu.org/licenses/old-licenses/gpl-2.0.html"
|
licenselink = "http://www.gnu.org/licenses/old-licenses/gpl-2.0.html"
|
||||||
tags = ["multilingual", "responsive", "blog", "search", "micro"]
|
tags = ["multilingual", "responsive", "blog", "search", "micro"]
|
||||||
features = ["multilingual", "responsive", "grid", "sass", "gulp", "search", "piwik", "jsonfeed"]
|
features = ["multilingual", "responsive", "grid", "sass", "gulp", "search", "matamo", "jsonfeed"]
|
||||||
min_version = 0.28
|
min_version = 0.28
|
||||||
|
|
||||||
[author]
|
[author]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue