Prevent Timber Template Loader to setup when Timber::$twig_template_hierarchy is not true
Check that there is a post to get the ID from before calling get_the_ID