Skip to content

Commit

Permalink
Fix broken list, replaces #918
Browse files Browse the repository at this point in the history
  • Loading branch information
lord committed Jan 20, 2018
1 parent 8af90c1 commit b742b60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/layouts/layout.erb
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ under the License.
</div>
<ul class="search-results"></ul>
<% end %>
<div id="toc" class="toc-list-h1">
<ul id="toc" class="toc-list-h1">
<% toc_data(page_content).each do |h1| %>
<li>
<a href="#<%= h1[:id] %>" class="toc-h1 toc-link" data-title="<%= h1[:content].to_s.parameterize %>"><%= h1[:content] %></a>
Expand All @@ -84,7 +84,7 @@ under the License.
<% end %>
</li>
<% end %>
</div>
</ul>
<% if current_page.data.toc_footers %>
<ul class="toc-footer">
<% current_page.data.toc_footers.each do |footer| %>
Expand Down

0 comments on commit b742b60

Please sign in to comment.