Added simple menu generation from pages