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.

14 lines
706 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. = render partial: 'layouts/theme', object: (@core || { pack: 'common' })
  9. = render partial: 'layouts/theme', object: (@theme || { pack: 'common', flavour: 'glitch', skin: 'default' })
  10. %body.error
  11. .dialog
  12. %img{ alt: Setting.default_settings['site_title'], src: current_user&.setting_auto_play_gif ? '/oops.gif' : '/oops.png' }/
  13. %div
  14. %h1= yield :content