2014-08-01 11:47:25 +02:00
|
|
|
!!! 5
|
2015-01-07 16:02:02 +01:00
|
|
|
%html{lang: 'en'}
|
2014-08-01 11:47:25 +02:00
|
|
|
%head
|
2014-11-13 19:37:11 +01:00
|
|
|
%meta{charset: 'utf-8'}
|
|
|
|
%meta{'http-equiv' => 'X-UA-Compatible' ,content: 'IE=edge'}
|
2014-11-30 16:41:18 +01:00
|
|
|
%meta{name: 'viewport', content: 'width=device-width, initial-scale=1, user-scalable=no'}
|
2015-01-13 22:57:50 +01:00
|
|
|
%meta{name: 'theme-color', content: '#5e35b1'}
|
2015-01-10 13:50:08 +01:00
|
|
|
%link{rel: 'apple-touch-icon', href: '/apple-touch-icon-precomposed.png'}
|
2015-01-10 13:43:02 +01:00
|
|
|
%link{rel: 'icon', href: '/images/favicon/favicon-16.png', sizes: '16x16'}
|
2015-01-10 13:56:39 +01:00
|
|
|
%link{rel: 'icon', href: '/icon-152.png', sizes: '152x152'}
|
2015-01-10 13:43:02 +01:00
|
|
|
%link{rel: 'icon', href: '/images/favicon/favicon-32.png', sizes: '32x32'}
|
2015-05-10 19:48:47 +02:00
|
|
|
%title= yield(:title)
|
2015-06-08 21:51:46 +02:00
|
|
|
= javascript_include_tag 'i18n', 'data-turbolinks-track' => true
|
2014-08-01 11:47:25 +02:00
|
|
|
= stylesheet_link_tag 'application', media: 'all', 'data-turbolinks-track' => true
|
|
|
|
= javascript_include_tag 'application', 'data-turbolinks-track' => true
|
2015-02-03 17:31:04 +01:00
|
|
|
- if user_signed_in?
|
|
|
|
- if current_user.mod?
|
|
|
|
= javascript_include_tag 'moderation', 'data-turbolinks-track' => true
|
2014-08-01 11:47:25 +02:00
|
|
|
= csrf_meta_tags
|
2020-05-09 02:07:58 +02:00
|
|
|
%body
|
2020-04-26 14:29:23 +02:00
|
|
|
- if user_signed_in?
|
|
|
|
= render 'navigation/main'
|
|
|
|
- else
|
|
|
|
= render 'navigation/guest'
|
2020-04-19 22:38:21 +02:00
|
|
|
= render 'shared/announcements'
|
2014-08-01 15:27:08 +02:00
|
|
|
= yield
|
2015-06-21 09:03:29 +02:00
|
|
|
= render 'shared/locales'
|
2014-08-01 15:27:08 +02:00
|
|
|
- if Rails.env.development?
|
2015-07-24 19:12:14 +02:00
|
|
|
#debug
|
|
|
|
%hr
|
|
|
|
.container
|
|
|
|
%p
|
|
|
|
Current branch:
|
|
|
|
%code= `git rev-parse --abbrev-ref HEAD`
|
|
|
|
(commit
|
|
|
|
= succeed ')' do
|
|
|
|
= `git rev-parse --short HEAD`.strip
|
|
|
|
%p.text-danger Debug params:
|
2020-05-09 02:07:58 +02:00
|
|
|
= debug params
|
|
|
|
= render_theme
|