functioning archive pages and single pages with navigation