]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/layouts/error.html.erb
Pass classes to override the default thumbnail_tiny style, rather than having another...
[rails.git] / app / views / layouts / error.html.erb
index f429feb5963b083201f242508ed97b3663a17b56..db6179769ded9e4c8a23d67812b6a40d5dd7e27b 100644 (file)
@@ -4,9 +4,15 @@
     <meta charset="utf-8">
     <title>OpenStreetMap</title>
     <%= stylesheet_link_tag "errors", :media => "screen" %>
+    <%= render :partial => "layouts/meta" %>
   </head>
   <body>
-    <%= image_tag "osm_logo.png", :class => "logo" %>
+    <a href="<%= root_path %>">
+      <picture>
+        <source srcset="<%= image_path "osm_logo.svg" %>" type="image/svg+xml" />
+        <%= image_tag "osm_logo.png", :srcset => image_path("osm_logo.svg"), :alt => t("layouts.logo.alt_text"), :class => "logo" %>
+      </picture>
+    </a>
     <div class="details">
       <%= yield %>
     </div>