Commit 9c04281a authored by Peter van 't Hof's avatar Peter van 't Hof
Browse files

Adding page index in aside

parent 1db3d15d
...@@ -55,9 +55,16 @@ ...@@ -55,9 +55,16 @@
#end #end
</ul> </ul>
</nav> </nav>
<aside>
<ul>
#for ((name, url) <- page.sections)
<li><a href="#${name}">${name}</a></li>
#end
</ul>
</aside>
#for ((name, url) <- page.sections) #for ((name, url) <- page.sections)
<section id="${name}"> <section id="${name}">
${name} <h3>${name}</h3>
</section> </section>
#end #end
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment