<% content_for :heading do %>
- <%= tag.h1 :lang => @locale, :dir => t("html.dir", :locale => @locale) do %>
- <%= t ".title", :locale => @locale %>
- <% end %>
+ <h1><%= t ".title" %></h1>
<% end %>
-<%= tag.div :lang => @locale, :dir => t("html.dir", :locale => @locale) do %>
- <p><%= t ".lede_text", :locale => @locale %></p>
- <h2><%= t ".local_chapters.title", :locale => @locale %></h2>
- <p><%= t ".local_chapters.about_text", :locale => @locale %></p>
- <p><%= t ".local_chapters.list_text", :locale => @locale %></p>
- <ul>
- <% @local_chapters.each do |chapter| %>
- <li><%= chapter %></li>
- <% end %>
- </ul>
- <h2><%= t ".other_groups.title", :locale => @locale %></h2>
- <p><%= t ".other_groups.about_html", :locale => @locale %></p>
-<% end %>
\ No newline at end of file
+<p class="lead"><%= t ".lede_text" %></p>
+
+<h2><%= t ".local_chapters.title" %></h2>
+<p><%= t ".local_chapters.about_text" %></p>
+<p><%= t ".local_chapters.list_text" %></p>
+<ul>
+ <% @local_chapters.each do |chapter| %>
+ <li>
+ <% if chapter.url %>
+ <a href="<%= chapter.url %>"><%= t "osm_community_index.communities.#{chapter.id}.name" %></a>
+ <% else %>
+ <%= t "osm_community_index.communities.#{chapter.id}.name" %>
+ <% end %>
+ </li>
+ <% end %>
+</ul>
+
+<h2><%= t ".other_groups.title" %></h2>
+<p><%= t ".other_groups.about_html" %></p>