5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-28 19:56:22 +00:00
panel/app/views/layouts/application.html.haml
f 74ec630377
agregar webpacker y actiontext
se llama webpacker y el logo no es un bulto!
2019-08-30 17:47:31 -03:00

25 lines
753 B
Text

!!!
%html{ lang: I18n.locale, dir: t('dir') }
%head
%meta{ content: 'text/html; charset=UTF-8',
'http-equiv': 'Content-Type' }/
%title Sutty
= csrf_meta_tags
= stylesheet_link_tag 'application', media: 'all',
'data-turbolinks-track': 'reload'
= javascript_pack_tag 'application',
'data-turbolinks-track': 'reload'
= javascript_include_tag 'application',
'data-turbolinks-track': 'reload'
-# TODO: Reimplementar get_url_from_site
- style = "background-image: url(#{@site.try(:cover)})"
-# haml-lint:disable InlineStyles
%body{ class: @has_cover ? 'background-cover' : '',
style: @has_cover ? style : '' }
.container-fluid#sutty
= yield
-# haml-lint:enable InlineStyles