# Using data from cascaded frontmatter

**URL:** https://discourse.gohugo.io/t/using-data-from-cascaded-frontmatter/30671
**Category:** support
**Created:** [January 15, 2021, 5:25pm UTC](https://discourse.gohugo.io/t/using-data-from-cascaded-frontmatter/30671 "2021-01-15T17:25:56Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![svistakk](https://avatars.discourse-cdn.com/v4/letter/s/d07c76/32.png) [@svistakk](https://discourse.gohugo.io/u/svistakk)
#### Post date: [January 15, 2021, 5:25pm UTC](https://discourse.gohugo.io/t/using-data-from-cascaded-frontmatter/30671/1 "2021-01-15T17:25:56Z")

</div>

Hi all, I need your help.

I have a site showing some basic information about internal tool we are providing. And there I’m showing relations between team and tools.

For now it’s like this:

**frontmatter:**

```
team:
- Team 1
- Team 2

```

**code**

```
{{ range where (where .Site.RegularPages "Section" "Section name") ".Title" "in" ".Params.team" }}                
  {{ partial "preview_card_team.html" . }}
{{ end }}

```

And it’s working perfect.

But I want to add additional info about teams’ responsibilities. So let’s say I have cascade like this in my front matter:

```
teams:
- name: Team 1
  responsibilities: ask them if something is wrong
- name: Team 2
  responsibilities: ask them if you want new feature

```

How can I show related tools now? Old code doesn’t work and to be honest I have no idea how to tell Hugo to check .Title against “name” from cascade.

Thanks!
