using pages to generate the nav instead of hardcoding links