Added liquid code to output three different navigation types: event, post, page.