We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 94b5111 commit 07c0156Copy full SHA for 07c0156
layouts/default.html
@@ -207,8 +207,8 @@ <h2 class="title"><%= @item[:title] %></h2>
207
<div class="col2-1">
208
<ul>
209
<% @items.group_by {|item| item[:filename].split('/')[1] }.each do |section, items| %>
210
- <h3><%= section.capitalize %></h3>
211
- <% items.sort_by {|item| item[:title] || "" }.each do |item| %>
+ <h3><%= section.gsub(/-/, " ").upcase %></h3>
+ <% items.sort_by {|item| item[:title] || "" }. each do |item| %>
212
<% if item[:title] %>
213
<li><a href="<%= item.path %>"><%= item[:title] %></a></li>
214
<% end %>
0 commit comments