forked from OpenNeo/impress
include announcement, analytics.js file to overwrite when necessary
This commit is contained in:
parent
ba8525e55b
commit
a6f087b92b
3 changed files with 3 additions and 1 deletions
|
@ -7,13 +7,14 @@
|
||||||
—
|
—
|
||||||
= yield :title
|
= yield :title
|
||||||
= stylesheet_link_tag "compiled/screen"
|
= stylesheet_link_tag "compiled/screen"
|
||||||
= javascript_include_tag "http://#{RemoteImpressHost}/assets/js/analytics.js"
|
|
||||||
= csrf_meta_tag
|
= csrf_meta_tag
|
||||||
= signed_in_meta_tag
|
= signed_in_meta_tag
|
||||||
%body{:class => body_class}
|
%body{:class => body_class}
|
||||||
|
= javascript_include_tag "analytics"
|
||||||
#container
|
#container
|
||||||
- if content_for? :title
|
- if content_for? :title
|
||||||
%h1#title= yield :title
|
%h1#title= yield :title
|
||||||
|
= render 'static/announcement.html'
|
||||||
= yield :before_flashes
|
= yield :before_flashes
|
||||||
= flashes
|
= flashes
|
||||||
|
|
||||||
|
|
0
app/views/static/_announcement.html
Normal file
0
app/views/static/_announcement.html
Normal file
1
public/javascripts/analytics.js
Normal file
1
public/javascripts/analytics.js
Normal file
|
@ -0,0 +1 @@
|
||||||
|
// Overwrite this file on deploy if you actually want to track people
|
Loading…
Reference in a new issue