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'))) { + +% }