!!!
%html
  %head
    %title= "#{@election.name} | Voxe"
    = stylesheet_link_tag "embed"
    = javascript_include_tag "embed"
  %body
    = render 'layouts/partials/facebook.html'
    :javascript
      $(function() {
        new VoxeElection({id: '#{@election.id}'});
      });
    #app
      
    #templates
      = render 'templates.mustache'
      
    = render 'layouts/partials/twitter.html'
!!!
%html
  %head
    %title= "#{@election.name} | Voxe"
    = stylesheet_link_tag "embed"
    = javascript_include_tag "embed"
    = render "layouts/partials/google_analytics"
    = render "layouts/partials/chartbeat_header"
  %body
    = render 'layouts/partials/facebook.html'
    :javascript
      $(function() {
        new VoxeElection({id: '#{@election.id}'});
      });
    #app
      
    #templates
      = render 'templates.mustache'

    = render "layouts/partials/chartbeat_body"
    = render 'layouts/partials/twitter.html'

Embed add google analytics and chartbeat scripts
Embed add google analytics and chartbeat scripts
