Calling entity reference field in page template We are working on Drupal 8 Blog Page template. We want to render entity reference fields in the page template.

I have tried {{ node.field_name.entity.name.value }} and {{ node.field_name.entity.uri.value }} but none of this is working. Do I need to update/change anything in Drupal backend for the content type?
The entity reference field normally contains just the entity ID as value.

Looking at Twig get value of field in entity reference and Drupal 8 loop entity reference fields.twig it seems a bit that

{{ node.field_name.entity }}


or 

{{ node.field_name.0.entity }}


or

{{ node.field_name[0].entity }}


might work.



If it doesn't work, try Twig Tweak which gives you some handy functions to print Drupal entities in Twig.

{% set nid = node.field_name.target_id %}
{{ drupal_entity('node', nid) }}


Or even easier as recommended by @4k4 in the comments:

{{ drupal_field('field_name', 'node') }}





  Twig Tweak is a small module which provides a Twig extension with some
  useful functions and filters that can improve development experience.