about summary refs log tree commit diff
path: root/app/views/layouts/error.html.haml
blob: d662d85e2e19bbdcfca765e7d8d52e14e58e386b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
!!!
%html{ lang: I18n.locale }
  %head
    %meta{ content: 'text/html; charset=UTF-8', 'http-equiv' => 'Content-Type' }/
    %meta{ charset: 'utf-8' }/
    %title= safe_join([yield(:page_title), Setting.default_settings['site_title']], ' - ')
    %meta{ content: 'width=device-width,initial-scale=1', name: 'viewport' }/
    = render partial: 'layouts/theme', object: (@core || { pack: 'common' })
    = render partial: 'layouts/theme', object: (@theme || { pack: 'common', flavour: 'glitch', skin: 'default' })
  %body.error
    .dialog
      %img{ alt: Setting.default_settings['site_title'], src: current_user&.setting_auto_play_gif ? '/oops.gif' : '/oops.png' }/
      %div
        %h1= yield :content