Retrospring/app/views/layouts/application.html.haml

39 lines
1.5 KiB
Plaintext
Raw Normal View History

2014-08-01 02:47:25 -07:00
!!! 5
%html
%head
2014-11-13 10:37:11 -08:00
%meta{charset: 'utf-8'}
%meta{'http-equiv' => 'X-UA-Compatible' ,content: 'IE=edge'}
2014-11-30 07:41:18 -08:00
%meta{name: 'viewport', content: 'width=device-width, initial-scale=1, user-scalable=no'}
%meta{name: 'theme-color', content: '#0C84E4'}
%meta{name: "apple-mobile-web-app-capable", content: "yes"}
2014-12-06 08:08:10 -08:00
%meta{name: 'apple-mobile-web-app-status-bar-style', content: 'black-translucent'}
%title= APP_CONFIG['site_name']
2014-08-01 02:47:25 -07:00
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
= javascript_include_tag 'application', 'data-turbolinks-track' => true
= csrf_meta_tags
%body
2014-08-01 06:27:08 -07:00
= render 'layouts/header'
= yield
- if Rails.env.development?
%hr
.container
2014-11-03 04:05:03 -08:00
%p.text-danger Debug params:
= debug params
2014-12-10 10:54:27 -08:00
- if Rails.env.production?
:javascript
var _paq = _paq || [];
_paq.push(['trackPageView']);
_paq.push(['enableLinkTracking']);
_paq.push(['setCustomUrl', document.location]);
_paq.push(['setDocumentTitle', document.title]);
(function() {
var u="//stat.rrerr.net/";
_paq.push(['setTrackerUrl', u+'piwik.php']);
_paq.push(['setSiteId', 9]);
var d=document, g=d.createElement('script'), s=d.getElementsByTagName('script')[0];
g.type='text/javascript'; g.async=true; g.defer=true; g.src=u+'piwik.js'; s.parentNode.insertBefore(g,s);
})();
%noscript
%p
%img{:alt => "", :src => "//stat.rrerr.net/piwik.php?idsite=9", :style => "border:0;"}/