# Creating custom indexes?

**URL:** <https://discourse.gohugo.io/t/creating-custom-indexes/22645>\
**Category:** Uncategorized\
**Created:** [January 4, 2020, 6:38pm UTC](https://discourse.gohugo.io/t/creating-custom-indexes/22645 "2020-01-04T18:38:44Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![frew](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/frew/32/1873_2.png) [@frew](https://discourse.gohugo.io/u/frew)\
**Post date:** [January 4, 2020, 6:38pm UTC](https://discourse.gohugo.io/t/creating-custom-indexes/22645/1 "2020-01-04T18:38:45Z")

</div>

I’d like to be able to write stuff like this in arbitrary pages, so that I can automate cross linking:

```auto
## Dinner

 {{ range where .Data.Pages.ByTitle "Params.tags" "intersect" (slice "dinner") }}
   {{ .Permalink }}
 {{ end }}

```

This doesn’t work though; is there something I can do to enable it in non-indexes?

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [January 4, 2020, 8:21pm UTC](https://discourse.gohugo.io/t/creating-custom-indexes/22645/2 "2020-01-04T20:21:42Z")

</div>

Maybe

> **[Related Content](https://gohugo.io/content-management/related/#readout)**
>
> List related content in "See Also" sections.

  

> **[Better Relationships in Hugo, with Hugo's Related Content | Regis Philibert](https://regisphilibert.com/blog/2018/04/hugo-optmized-relashionships-with-related-content/)**
>
> By using Hugo's Related Content to manage your relationships, you could reduce your build time by 70%! In this article, we see how easy it is to implement Hugo's new Related Content feature on an existing project and how it will forever optimize the...

---

<div class="post-metadata">

**Author:** ![frew](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/frew/32/1873_2.png) [@frew](https://discourse.gohugo.io/u/frew)\
**Post date:** [January 4, 2020, 8:37pm UTC](https://discourse.gohugo.io/t/creating-custom-indexes/22645/3 "2020-01-04T20:37:46Z")

</div>

I want something that is arbitrarily different for each page; is that not possible?

---

<div class="post-metadata">

**Author:** ![bep](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/bep/32/3332_2.png) [@bep](https://discourse.gohugo.io/u/bep)\
**Post date:** [January 4, 2020, 11:11pm UTC](https://discourse.gohugo.io/t/creating-custom-indexes/22645/4 "2020-01-04T23:11:10Z")

</div>

Have you read the links I posted above?

---

<div class="post-metadata">

**Author:** ![frew](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/frew/32/1873_2.png) [@frew](https://discourse.gohugo.io/u/frew)\
**Post date:** [January 4, 2020, 11:23pm UTC](https://discourse.gohugo.io/t/creating-custom-indexes/22645/5 "2020-01-04T23:23:27Z")

</div>

I looked at them but I think maybe I didn’t include enough description in my original message. My intention is to make a single page that contains multiple sections with links to other pages. Imagine a master list of recipes, with a breakfast section, a lunch section, and a dinner section. The first would be articles tagged `breakfast` ( and maybe also tagged `recipe`, but I would leave that out if only to avoid the hassle of the query.) The next would be a list of articles tagged `lunch`, etc.

I don’t think, with Related Content, I can be this fine grained; Can I have a single page that has arbitrarily many related content sections with Related Content?
