I'm currently working on Bartik theme and i'm trying to create a custom template for the Content-Recent block available in Drupal 8 For your information, i would like to create the following block view :
For that, I've followed these steps :
- In Drupal 8 back-office, I've added the block view "Recent content" (Machine name : views_block__content_recent_block_1)
- In my source code, I've created a new file in my templates folder and named : views-view-list--content-recent--block-1.html
- I've added a static text : "Hello world", just to check if the template has been override, and it's OK for this part.
But now, I'm stuck because I don't know how to retrieve item properties (Title, Date, Description)
I've tried to find some informations with
dump() but I'm bit lost :/