Alter menu link path based on content type
wow I feel silly. You can still preprocess the menu template in Drupal 8. So by using hook_preprocess_menu__main() it looks like I will have access to everything I need and not have to do everything in the Twig template.