From 3b9fbad1af6ca2dddd3053c755f13d769df4c70f Mon Sep 17 00:00:00 2001 From: Dorian Niemiec Date: Wed, 24 Apr 2024 18:22:37 +0200 Subject: [PATCH] Add Matomo tracking code --- themes/svrjs/_config.yml | 1 + themes/svrjs/layout/_partial/head.ejs | 18 ++++++++++++++++++ 2 files changed, 19 insertions(+) diff --git a/themes/svrjs/_config.yml b/themes/svrjs/_config.yml index e9fe6a9..4bb5da8 100644 --- a/themes/svrjs/_config.yml +++ b/themes/svrjs/_config.yml @@ -47,6 +47,7 @@ recent_posts_limits: 5 # Miscellaneous google_analytics: gauges_analytics: +matomo: true favicon: /favicon.ico links: true twitter: diff --git a/themes/svrjs/layout/_partial/head.ejs b/themes/svrjs/layout/_partial/head.ejs index a67dba1..38b3ec6 100644 --- a/themes/svrjs/layout/_partial/head.ejs +++ b/themes/svrjs/layout/_partial/head.ejs @@ -43,4 +43,22 @@ <% if (theme.links) {%> <%- css('https://cdn.jsdelivr.net/npm/fork-awesome@1.2.0/css/fork-awesome.min.css') %> <% } %> + <% if (theme.matomo) {%> + + + + <% } %>