Reinier Battenberg ffc5c0f676 Fix anchor for not toc targets (#653)
Clicking on toc items generated from the documentation.yaml file didnt work. The target id was not properly slugged. Always slug your target. Very important.
2017-01-11 20:41:59 -08:00

11 lines
199 B
Plaintext

<section class='py2 clearfix'>
<h2 id='<%- slug(note.namespace) %>' class='mt0'>
<%- note.name %>
</h2>
<% if (note.description) { %>
<%= md(note.description) %>
<% } %>
</section>