2014-08-01 02:47:25 -07:00
|
|
|
!!! 5
|
2015-01-07 07:02:02 -08:00
|
|
|
%html{lang: 'en'}
|
2014-08-01 02:47:25 -07:00
|
|
|
%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'}
|
2015-01-13 13:57:50 -08:00
|
|
|
%meta{name: 'theme-color', content: '#5e35b1'}
|
2015-01-10 04:58:19 -08:00
|
|
|
%meta{name: "mobile-web-app-capable", content: "yes"}
|
2014-11-30 07:41:18 -08:00
|
|
|
%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'}
|
2015-01-10 04:50:08 -08:00
|
|
|
%link{rel: 'apple-touch-icon', href: '/apple-touch-icon-precomposed.png'}
|
2015-01-10 04:43:02 -08:00
|
|
|
%link{rel: 'icon', href: '/images/favicon/favicon-16.png', sizes: '16x16'}
|
2015-01-10 04:56:39 -08:00
|
|
|
%link{rel: 'icon', href: '/icon-152.png', sizes: '152x152'}
|
2015-01-10 04:43:02 -08:00
|
|
|
%link{rel: 'icon', href: '/images/favicon/favicon-32.png', sizes: '32x32'}
|
2014-11-03 04:03:24 -08:00
|
|
|
%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
|
2015-02-03 08:31:04 -08:00
|
|
|
- if user_signed_in?
|
|
|
|
- if current_user.mod?
|
|
|
|
= javascript_include_tag 'moderation', 'data-turbolinks-track' => true
|
2014-08-01 02:47:25 -07:00
|
|
|
= csrf_meta_tags
|
|
|
|
%body
|
2014-08-01 06:27:08 -07:00
|
|
|
= render 'layouts/header'
|
|
|
|
= yield
|
|
|
|
- if Rails.env.development?
|
|
|
|
%hr
|
2014-08-01 02:55:50 -07:00
|
|
|
.container
|
2014-12-28 10:45:49 -08:00
|
|
|
%p
|
|
|
|
Current branch:
|
|
|
|
%code= `git rev-parse --abbrev-ref HEAD`
|
|
|
|
(commit
|
|
|
|
= succeed ')' do
|
|
|
|
= `git rev-parse --short HEAD`.strip
|
2014-11-03 04:05:03 -08:00
|
|
|
%p.text-danger Debug params:
|
2014-11-03 04:03:24 -08:00
|
|
|
= debug params
|
2014-12-10 10:54:27 -08:00
|
|
|
|
|
|
|
- if Rails.env.production?
|
|
|
|
%noscript
|
|
|
|
%p
|
2015-01-07 07:02:02 -08:00
|
|
|
%img{:alt => "", :src => "//stat.rrerr.net/piwik.php?idsite=9", :style => "border:0;"}/
|