# Headless bundles and content structure

**URL:** <https://discourse.gohugo.io/t/headless-bundles-and-content-structure/16234>\
**Category:** support\
**Created:** [January 8, 2019, 11:34pm UTC](https://discourse.gohugo.io/t/headless-bundles-and-content-structure/16234 "2019-01-08T23:34:06Z")\
**Posts on this page:** 1\
**Showing post:** 4

<div class="post-metadata">

**Author:** ![pancake](https://avatars.discourse-cdn.com/v4/letter/p/ecd19e/32.png) [@pancake](https://discourse.gohugo.io/u/pancake)\
**Post date:** [January 9, 2019, 6:13pm UTC](https://discourse.gohugo.io/t/headless-bundles-and-content-structure/16234/4 "2019-01-09T18:13:23Z")

</div>

Thanks. There will only be 2-3 sponsors.

Is there a way I can use the same structure, but not have to repeat the same logic and hard code the path to each sponsor? I would use a range, but it seems you can’t range over headless bundles.

I’m looking for something like this:

```
{{$headlessbundle := .Site.GetPage "/sponsors/%s" (some_variable)}}

```

where some variable would be sponsor1, sponsor2.

---

_[View the full topic](https://discourse.gohugo.io/t/headless-bundles-and-content-structure/16234)._
