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
|
@ -8,7 +8,7 @@
|
||||||
= csrf_meta_tags
|
= csrf_meta_tags
|
||||||
= stylesheet_link_tag "application", :media => "all"
|
= stylesheet_link_tag "application", :media => "all"
|
||||||
//%link(href="images/favicon.ico" rel="shortcut icon")
|
//%link(href="images/favicon.ico" rel="shortcut icon")
|
||||||
|
|
||||||
= yield(:head)
|
= yield(:head)
|
||||||
= foodcoop_css_tag
|
= foodcoop_css_tag
|
||||||
|
|
||||||
|
@ -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