mirror of
https://github.com/danbulant/api_docs
synced 2026-05-24 12:27:29 +00:00
Fix broken list, replaces #918
This commit is contained in:
parent
8af90c16c5
commit
b742b60413
1 changed files with 2 additions and 2 deletions
|
|
@ -69,7 +69,7 @@ under the License.
|
||||||
</div>
|
</div>
|
||||||
<ul class="search-results"></ul>
|
<ul class="search-results"></ul>
|
||||||
<% end %>
|
<% end %>
|
||||||
<div id="toc" class="toc-list-h1">
|
<ul id="toc" class="toc-list-h1">
|
||||||
<% toc_data(page_content).each do |h1| %>
|
<% toc_data(page_content).each do |h1| %>
|
||||||
<li>
|
<li>
|
||||||
<a href="#<%= h1[:id] %>" class="toc-h1 toc-link" data-title="<%= h1[:content].to_s.parameterize %>"><%= h1[:content] %></a>
|
<a href="#<%= h1[:id] %>" class="toc-h1 toc-link" data-title="<%= h1[:content].to_s.parameterize %>"><%= h1[:content] %></a>
|
||||||
|
|
@ -84,7 +84,7 @@ under the License.
|
||||||
<% end %>
|
<% end %>
|
||||||
</li>
|
</li>
|
||||||
<% end %>
|
<% end %>
|
||||||
</div>
|
</ul>
|
||||||
<% if current_page.data.toc_footers %>
|
<% if current_page.data.toc_footers %>
|
||||||
<ul class="toc-footer">
|
<ul class="toc-footer">
|
||||||
<% current_page.data.toc_footers.each do |footer| %>
|
<% current_page.data.toc_footers.each do |footer| %>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue