Render menu block in twig template In page--front.html.twig I load a nested twig file {% include
"header.twig" {} %}
In header.twig I want to render my menu block


I tried the following but no result:


In my_theme.theme I added:


function crm_theme_preprocess_page(&amp;$variables) {
  $block = \Drupal\block\Entity\Block::load('crmnavigation');
  $variables['block_output'] = \Drupal::entityTypeManager()
    -&gt;getViewBuilder('block')
    -&gt;view($block);
}



In header.twig I added {{ my_navigation }} but it doesn't show the menu block?
The easiest solution is to make use of twig tweaks module, Install twig tweak 

drush -y en twig_tweak, 
drush cr, 


now you can place navigation anywhere. In your case inside header.twig file place

{{ drupal_block('crmnavigation') }}


You can also render entities, views and many other things. well explained here http://www.wdtutorials.com/drupal/theming/drupal-8-tutorial-43-twig-tweak-module-article-video#.WCPOxeErIyk