Allow adding tracking code for webstatistics service. E.g. piwik.
This commit is contained in:
parent
459b2826d3
commit
81d22e6077
2 changed files with 7 additions and 1 deletions
|
@ -25,3 +25,4 @@
|
||||||
I18n.locale = "#{I18n.locale}";
|
I18n.locale = "#{I18n.locale}";
|
||||||
I18n.fallbacks = true;
|
I18n.fallbacks = true;
|
||||||
= yield(:javascript)
|
= yield(:javascript)
|
||||||
|
= raw FoodsoftConfig[:webstats_tracking_code]
|
||||||
|
|
|
@ -123,6 +123,11 @@ default: &defaults
|
||||||
encoding: utf8
|
encoding: utf8
|
||||||
socket: /opt/lampp/var/mysql/mysql.sock
|
socket: /opt/lampp/var/mysql/mysql.sock
|
||||||
|
|
||||||
|
# Uncomment to add tracking code for web statistics, e.g. piwik
|
||||||
|
#webstats_tracking_code: |
|
||||||
|
# <!-- Piwik -->
|
||||||
|
# ......
|
||||||
|
|
||||||
development:
|
development:
|
||||||
<<: *defaults
|
<<: *defaults
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue