From 9430bd2db726d7d2b115948ea245485233e5fc44 Mon Sep 17 00:00:00 2001 From: Luc Didry Date: Sat, 3 Oct 2015 22:42:22 +0200 Subject: [PATCH] Add piwik usability --- lufi.conf.template | 5 +++++ templates/layouts/default.html.ep | 3 +++ 2 files changed, 8 insertions(+) diff --git a/lufi.conf.template b/lufi.conf.template index 4025bc0..2a74522 100644 --- a/lufi.conf.template +++ b/lufi.conf.template @@ -33,6 +33,11 @@ # optional, default is 32 #token_length => 32, + # if you want to have piwik statistics, provide a piwik image tracker + # only the image tracker is allowed, no javascript + # optional, no default + #piwik_img => 'https://piwik.example.org/piwik.php?idsite=1&rec=1', + # broadcast_message which will displayed on the index page # optional, no default #broadcast_message => 'Maintenance', diff --git a/templates/layouts/default.html.ep b/templates/layouts/default.html.ep index 6672d4e..808f230 100644 --- a/templates/layouts/default.html.ep +++ b/templates/layouts/default.html.ep @@ -52,5 +52,8 @@ +% if (defined(config('piwik_img'))) { + +% }