# HOWTO: Paginated pages containing two different content types

**URL:** <https://discourse.gohugo.io/t/howto-paginated-pages-containing-two-different-content-types/7448>\
**Category:** tips & tricks\
**Tags:** pagination\
**Created:** [July 15, 2017, 10:30am UTC](https://discourse.gohugo.io/t/howto-paginated-pages-containing-two-different-content-types/7448 "2017-07-15T10:30:08Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jonathan\_Griffin](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/jonathan_griffin/32/8355_2.png) [@Jonathan\_Griffin](https://discourse.gohugo.io/u/Jonathan_Griffin)\
**Post date:** [July 15, 2017, 10:30am UTC](https://discourse.gohugo.io/t/howto-paginated-pages-containing-two-different-content-types/7448/1 "2017-07-15T10:30:08Z")

</div>

It took me an hour to work this one out, so thought I would post it here in case anyone else wants to implement it:

```
{{ $paginator := .Paginate (where .Site.Pages "Type" "in" (slice "contenttype1" "contenttype2")) }}
{{ range $paginator.Pages }}
{{ .Render "summary" }}
{{ end }}
{{ partial "pagination.html" . }}
```
