title: How to make wordpress post listing page in Twig/Timber?
body: <p>I'm using Timber in my WordPress theme. I created route for my /blog page which should contain posts list.</p>
  <pre><code>Routes::map('blog', function($params) {
      Routes::load('loop.php', $params, false, 200);
  });
  </code></pre>
  <p>In my <code>loop.php</code> file I have this code</p>
  <pre><code>$context = Timber::get_context();
  $args = ['posts_per_page' =&gt; 5, 'post_type' =&gt; 'post'];
  $context['post'] = Timber::get_posts( $args );
  $post = new TimberPost();
  $context['post'] = $post;
  
  Timber::render( 'loop/post-loop.twig', $context );
  </code></pre>
  <p>next in post-loop.twig</p>
  <pre><code>{% if posts %}
      {% for post in posts %}
          {{ post.title }}
      {% endfor %}
  {% else %}
      &lt;p&gt;No matching posts&lt;/p&gt;
  {% endif %}
  </code></pre>
  <p>And now, <code>{{post.title}}</code> don't display actual post title but whole page title which is &quot;blog&quot;. Even if there's no posts loop print data. My question is what is wrong with my code and how can I make page which contain list of my posts. But in proper way.</p>