flatiron / blacksmith

A generic static site generator built using flatiron, plates, and marked.
MIT License
555 stars 41 forks source link

Toc structure #58

Closed lfont closed 12 years ago

lfont commented 12 years ago

When the toc.length property is defined in the page.json metadata, the tocLast() function return an invalid html tree and the final content of the nav element is :

<nav>
    <li></li>
</nav>

The fix ensure that the nav element looks like :

<nav>
    <ul>
        <li></li>
    </ul>
</nav>
indexzero commented 12 years ago

Closing since blacksmith has been rewritten from the ground up for 1.0.0