views:

155

answers:

2

Hi

When I create pages in a publishing site the pages are automatically added to the navigation.

What if I dont want certain pages to show on the navigation, how can I do that automatically/conditionally?

A: 

Remove them from the navigation using site settings?

Colin
A: 

This blog post from Ton Stegeman should tell you everything you need to know. Look at PublishingWeb.ExcludeFromNavigation().

Alex Angas