Skip to content

Instantly share code, notes, and snippets.

View timgauthier's full-sized avatar

Tim timgauthier

View GitHub Profile
<ul>
<?php foreach($pages->visible() as $section): ?>
<li><a href="#<?php echo $section->uid() ?>"><?php echo html($section->title()) ?></a></li>
<?php endforeach ?>
</ul>