# One List Layout For Different Section?

**URL:** <https://discourse.gohugo.io/t/one-list-layout-for-different-section/20321>\
**Category:** support\
**Created:** [August 20, 2019, 5:04am UTC](https://discourse.gohugo.io/t/one-list-layout-for-different-section/20321 "2019-08-20T05:04:55Z")\
**Posts on this page:** 1\
**Showing post:** 7

<div class="post-metadata">

**Author:** ![BayuAngora](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bayuangora/32/26104_2.png) [@BayuAngora](https://discourse.gohugo.io/u/BayuAngora)\
**Post date:** [August 21, 2019, 7:32am UTC](https://discourse.gohugo.io/t/one-list-layout-for-different-section/20321/7 "2019-08-21T07:32:58Z")

</div>

Hello, @frjo

I tried to use your code above, but there’s a failed building on Netlify.

```auto
Error: add site dependencies: load resources: loading templates: "/opt/build/repo/layouts/_default/list.html:16:1": parse failed: template: _default/list.html:16: undefined variable "$paginator"

```

I don’t know which code is wrong. So, I reverted back to the default theme code here -\>

> <https://github.com/BayuAngora/paper/blob/master/layouts/_default/list.html>

But the problem with the default code above is, the result only displaying posts from Poem section only, without displaying posts from Blog and Quote section?

[https://mypaper.netlify.com/blog/](https://mypaper.netlify.com/blog/)

Can you help me to correct my list.html above?

---

_[View the full topic](https://discourse.gohugo.io/t/one-list-layout-for-different-section/20321)._
