Use a different way to use piwik

This commit is contained in:
Jeremy Benoist
2016-02-22 10:58:43 +01:00
parent 07643dde08
commit 077ddbe1ae
3 changed files with 5 additions and 18 deletions

View File

@ -71,6 +71,9 @@
<div id="warning_message">
You're trying wallabag v2, which is in alpha version. If you find a bug, please have a look to <a href="https://github.com/wallabag/wallabag/issues">our issues list</a> and <a href="https://github.com/wallabag/wallabag/issues/new">open a new if necessary</a>
</div>
{{ piwik() }}
{% if craue_setting('piwik_enabled') %}
{{ piwik(craue_setting('piwik_host'), craue_setting('piwik_site_id')) }}
{% endif %}
</body>
</html>