Skip to content

Instantly share code, notes, and snippets.

@bastianallgeier
Created January 17, 2013 09:53
Show Gist options
  • Save bastianallgeier/4554931 to your computer and use it in GitHub Desktop.
Save bastianallgeier/4554931 to your computer and use it in GitHub Desktop.
<ul>
<?php foreach($pages->visible() as $section): ?>
<li><a href="#<?php echo $section->uid() ?>"><?php echo html($section->title()) ?></a></li>
<?php endforeach ?>
</ul>
@timgauthier
Copy link

thanks, This helps a lot!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment