Node values not retrieving properly in .theme and Twig files
not sure if you still need an answer, but the problem is how you want to retrieve the values from the fields. I get confused all the time, so I usually check out what the column name in the database is of the value I want to get from the field.

Links:

$node-&gt;field_vanilla_home_link-&gt;uri;
$node-&gt;field_vanilla_home_link-&gt;title;


Images are a bit more complicated, maybe there are more ways, but this is how I usually do it:

$entity = $node-&gt;field_vanilla_home_thumbnail-&gt;entity;
    if ($entity) {
      $variables['field_vanilla_home_thumbnail'] = $entity-&gt;getFileUri();
    }


OR with this you could load different image styles (don't forget to import ImageStyle class):

ImageStyle::load('thumbnail')-&gt;buildUrl($entity-&gt;getFileUri());


For the image alt:

$node-&gt;field_vanilla_home_thumbnail-&gt;alt


And I guess you know how to use those values in twig to print links and images (just basic html) :)

Edit: For your problem with your long text with summary, you can filter the markups with "raw":

{{ field_vanilla_main_content | raw }}