]> cat aescling's git repositories - mastodon.git/blobdiff - app/views/layouts/error.html.haml
New error page graphic. Other error page improvements (#5099)
[mastodon.git] / app / views / layouts / error.html.haml
index 0b5f908aefc8cfa9ef06c3d5ba5c458d35c5b171..31f3220964a440bdd80c80c046def06043d75dcf 100644 (file)
@@ -3,12 +3,12 @@
   %head
     %meta{ content: 'text/html; charset=UTF-8', 'http-equiv' => 'Content-Type' }/
     %meta{ charset: 'utf-8' }/
-    %title= yield :page_title
+    %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: 'Mastodon', src: '/oops.png' }/
+      %img{ alt: title, src: '/oops.gif' }/
       %div
         %h1= yield :content
This page took 0.0324680000000001 seconds and 3 git commands to generate.