i have had this problem multiple times …
file: the-huntsman-the-ice-queen-3d/movie.md
title: 'The Huntsman & The Ice Queen (3D)'
age_limit: 12
length: 114
visible: true
release: '2016-04-07'
the file tree looks like:
pages
start.md
movies
movie.md
file: start.md
{% extends 'partials/base.html.twig' %}
{% block content %}
{% set all_movies = page.find('/movies').collection %}
<section class="movies">
{% for each_movie in all_movies %}
{% set each_movie_date = each_movie.header.release|date("Y") %}
<article class="movie">
<header>{{ each_movie.title }}</header>
<aside>
<span class="age_limit">Ab {{ each_movie.header.age_limit }} Jahren</span>
<span class="length">{{ each_movie.header.length }} Minuten</span>
</aside>
<main>{{ each_movie.content }}</main>
<footer>{{ each_movie_date }}</footer>
</article>
{% endfor %}
</section>
{% endblock %}
twig does not render the information in the title and content variable properly. where is my mistake ?