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

32 lines
997 B
Plaintext
Raw Normal View History

2018-01-29 18:09:30 +00:00
!!!
%html{ lang: I18n.locale, dir: t('dir') }
2018-01-29 18:09:30 +00:00
%head
%meta{ charset: 'UTF-8' }/
2019-07-26 00:08:37 +00:00
%meta{ content: 'text/html; charset=UTF-8',
'http-equiv': 'Content-Type' }/
%meta{ name: 'color-scheme', content: 'light dark' }/
%meta{ name: 'viewport',
content: 'width=device-width, initial-scale=1.0' }/
%meta{ name: 'referrer', content: 'same-origin' }/
2018-01-29 18:09:30 +00:00
%title Sutty
2019-07-26 00:08:37 +00:00
2018-01-29 18:09:30 +00:00
= csrf_meta_tags
2019-07-26 00:08:37 +00:00
= stylesheet_link_tag 'application', media: 'all',
'data-turbolinks-track': 'reload'
= javascript_pack_tag 'application',
'data-turbolinks-track': 'reload'
2020-05-26 21:32:46 +00:00
= stylesheet_pack_tag 'application',
'data-turbolinks-track': 'reload'
2019-07-26 00:08:37 +00:00
= javascript_include_tag 'application',
'data-turbolinks-track': 'reload'
2019-10-02 17:37:15 +00:00
= favicon_link_tag 'sutty_cuadrada.png',
rel: 'apple-touch-icon', type: 'image/png'
2019-09-11 19:29:05 +00:00
%body{ class: yield(:body) }
2019-07-26 00:08:37 +00:00
.container-fluid#sutty
2018-01-29 18:09:30 +00:00
= yield
- if flash[:js]
.js-flash.d-none{ data: flash[:js] }