You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
821 B

  1. !!!
  2. %html{ lang: I18n.locale }
  3. %head
  4. %meta{ content: 'text/html; charset=UTF-8', 'http-equiv' => 'Content-Type' }/
  5. %meta{ charset: 'utf-8' }/
  6. %title= safe_join([yield(:page_title), Setting.default_settings['site_title']], ' - ')
  7. %meta{ content: 'width=device-width,initial-scale=1', name: 'viewport' }/
  8. = javascript_pack_tag "locales", integrity: true, crossorigin: 'anonymous'
  9. = render partial: 'layouts/theme', object: (@core || { pack: 'common' })
  10. = render partial: 'layouts/theme', object: (@theme || { pack: 'error', flavour: 'glitch', common: { pack: 'common', flavour: 'glitch', skin: 'default' } })
  11. %body.error
  12. .dialog
  13. .dialog__illustration
  14. %img{ alt: Setting.default_settings['site_title'], src: '/oops.png' }/
  15. .dialog__message
  16. %h1= yield :content