I've got a content type article
. I display them on a view blog
.
I'm customising the display via views-view-fields--blog.html.twig
. I'd like to display the author and date fields (they are configured in the view). The other fields display fine, but how do I access those two?
<div class="blog-article">
<div class="blog-image">
<a href="blog-single-right-sidebar.html">{{ fields.field_image.content }}</a>
</div>
<div class="blog-details">
<!-- Here is where I need the author and date fields -->
<div class="blog-date">
Posted by <a href="blog-masonry-2columns.html">{{ ??? }}</a> | {{ ??? }}
</div>
<div class="blog-title">{{ fields.title.content }}</div>
<div class="blog-short-description">{{ fields.body.content }}</div>
</div>
</div>
{{ fields.created.content }}
? – Kevin Feb 13 '17 at 16:22