template not being populated with values
Posted: Mon Jan 04, 2016 3:20 am
I have the following code in my index.twig file:
yet i am getting a blank page , see HERE http://i.imgur.com/s5cPndG.jpg WHY ?
My database is populated .
Code: Select all
{% include '_header.twig' %}
<main>
<div class="container">
<div class="page-header">
<h1>{{ testimonials.name }} | <small>{{ testimonials.position }}</small></h1>
<time>{{ testimonials.datecreated|date("jS F, Y") }}</time>
</div>
<div class="page-content">
{{ testimonials.body }}
</div>
</div>
</main>
{% include '_footer.twig' %}My database is populated .