I have a views-view--resources-filter.html.twig file. Within here I have a better exposed filters form and I loop through the resources (node) with the available {{ rows }} variable. My question is, what is the naming convention to make a node view for an unformatted list where I use fields to show? So basically that it only styles the nodes within this view. I've been looking for a solution all day, but couldn't find anything really related to my issue.

1 Answer 1


It will be something like


For more info, turn on twig debugging and look in the Views module template folder at /core/modules/views/templates/.

  • Thanks! It works for me with this now: views-view-unformatted--resources-filter.html, I know that the name I used is the view name/machine name. But what is the best way to find the display name?
    – Jorn Reed
    Mar 10 at 13:38
  • The display name of the view is shown in the Views UI for each display under the Advanced toggle. @JornReed Mar 10 at 13:49

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.