# Paginate checks two "Type"?

**URL:** <https://discourse.gohugo.io/t/paginate-checks-two-type/21774>\
**Category:** Uncategorized\
**Tags:** pagination\
**Created:** [November 12, 2019, 11:09pm UTC](https://discourse.gohugo.io/t/paginate-checks-two-type/21774 "2019-11-12T23:09:43Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![Javier\_Cabrera](https://avatars.discourse-cdn.com/v4/letter/j/b9bd4f/32.png) [@Javier\_Cabrera](https://discourse.gohugo.io/u/Javier_Cabrera)\
**Post date:** [November 13, 2019, 3:16am UTC](https://discourse.gohugo.io/t/paginate-checks-two-type/21774/4 "2019-11-13T03:16:32Z")

</div>

Oh, wow, just in case someone also wonders about this:

> [@HOWTO: Paginated pages containing two different content types](https://discourse.gohugo.io/t/howto-paginated-pages-containing-two-different-content-types/7448):
>
> 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" . }}

Here’s the full solution!

---

_[View the full topic](https://discourse.gohugo.io/t/paginate-checks-two-type/21774)._
