mirror of
https://git.kescher.at/CatCatNya/catstodon.git
synced 2024-12-19 10:59:04 +01:00
3b60832214
- 500.html generated with admin-set default locale if set - Error page `<title>` includes Mastodon site title - 500 title changed to "This page is not correct" (ref: <https://www.youtube.com/watch?v=2VCAP_seh1A>) - 500 content appended with "on our end" to make clear it's not user's fault
14 lines
520 B
Text
14 lines
520 B
Text
!!!
|
|
%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), title], ' - ')
|
|
%meta{ content: 'width=device-width,initial-scale=1', name: 'viewport' }/
|
|
= stylesheet_pack_tag 'common', media: 'all'
|
|
= stylesheet_pack_tag Setting.default_settings['theme'], media: 'all'
|
|
%body.error
|
|
.dialog
|
|
%img{ alt: title, src: '/oops.gif' }/
|
|
%div
|
|
%h1= yield :content
|