]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/site/index.html.erb
Pass title to opengraph routine
[rails.git] / app / views / site / index.html.erb
index 5eb2a66fe1c5a318ca812be6ed2aa0e49d726f44..7603bb1bdd0c26fbcb3c9fa0e0e9d9f8a94a2574 100644 (file)
@@ -1,8 +1,4 @@
-<% unless @user %>
-  <div class="welcome">
-    <h2><%= t 'layouts.intro_header' %></h2>
-    <p><%= t 'layouts.intro_text' %></p>
-    <a class="button learn-more" href="<%= about_path %>"><%= t('layouts.learn_more') %></a>
-    <a class="button sign-up" href="<%= user_new_path %>"><%= t('layouts.sign_up') %></a>
-  </div>
-<% end %>
+<%
+   set_title()
+   content_for(:content_class) { "overlay-sidebar" }
+%>