Timber: Single post pagination does not work (wp_link_pages)
PHP Snippet 1:
global $post, $page, $pages, $multipage;
setup_postdata( $post );
// setting up your context
$context = Timber::context();
$context['post'] = new Timber\Post();
if ( $multipage ) {
$context['post']->post_content = $pages[$page - 1];
}
PHP Snippet 2:
$context = Timber::get_context();
$post = new Timber\Post();
$context['post'] = $post;