dynamically generate menu items from static pages