]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/error.html.erb
Merge remote-tracking branch 'upstream/pull/4868'
[rails.git] / app / views / layouts / error.html.erb
index 590f32095dab8445db2c69c5e03d73f1e01a4477..435de3015346f97b9c8a72c1ff204acf0ba3ac4c 100644 (file)
@@ -3,10 +3,13 @@
   <head>
     <meta charset="utf-8">
     <title>OpenStreetMap</title>
-    <%= stylesheet_link_tag "errors", :media=> "screen" %>
+    <%= stylesheet_link_tag "errors", :media => "screen" %>
+    <%= render :partial => "layouts/meta" %>
   </head>
   <body>
-    <%= image_tag "osm_logo.png", :class => "logo" %>
+    <a href="<%= root_path %>">
+      <%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :class => "logo" %>
+    </a>
     <div class="details">
       <%= yield %>
     </div>