Add table of contents footer links feature

Now you can add links to the bottom of your table of contents!
Documentation has also been changed to reflect this new
feature.

Please note that if you have a custom variables.scss, you'll have
to merge in this line:

    $nav-footer-border-color: #666;
This commit is contained in:
Robert Lord
2013-10-21 14:04:05 -07:00
parent 81b9110cad
commit dc33dfe0a7
5 changed files with 53 additions and 4 deletions

View File

@@ -62,9 +62,17 @@ under the License.
</head>
<body class="<%= page_classes %>">
<div id="toc">
<div class="tocify-wrapper">
<%= image_tag "logo.png" %>
<!-- table of contents will be inserted here -->
<div id="toc">
</div>
<% if current_page.data.toc_footers %>
<ul class="toc-footer">
<% current_page.data.toc_footers.each do |footer| %>
<li><%= footer %></li>
<% end %>
</ul>
<% end %>
</div>
<div class="page-wrapper">
<div class="content">