Closed lfont closed 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>
Closing since blacksmith has been rewritten from the ground up for 1.0.0
blacksmith
1.0.0
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 :
The fix ensure that the nav element looks like :