# {{ .solved }} Range Data Dir not working

**URL:** <https://discourse.gohugo.io/t/solved-range-data-dir-not-working/12252>\
**Category:** support\
**Created:** [June 3, 2018, 6:24pm UTC](https://discourse.gohugo.io/t/solved-range-data-dir-not-working/12252 "2018-06-03T18:24:28Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Beny](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/beny/32/1897_2.png) [@Beny](https://discourse.gohugo.io/u/Beny)\
**Post date:** [June 3, 2018, 6:24pm UTC](https://discourse.gohugo.io/t/solved-range-data-dir-not-working/12252/1 "2018-06-03T18:24:28Z")

</div>

I have the following structure

```auto
data
    songcollection
               song1.yaml
               song2.yaml

```

Inside each yaml-file i have:

```auto
title
description
source

```

In the partial “songlist.html”:

```auto
{{ range .Site.Data.songcollection . }}
{{ end }}

```

Now in a static site, i need the songlist:

```auto
content
      song.md

```

Then i tried it with shortcodes.  
But nothing is working.

So - How can i get the data-output on song.md?  
Thanks

---

<div class="post-metadata">

**Author:** ![Beny](https://yyz2.discourse-cdn.com/flex036/user_avatar/discourse.gohugo.io/beny/32/1897_2.png) [@Beny](https://discourse.gohugo.io/u/Beny)\
**Post date:** [June 8, 2018, 7:25am UTC](https://discourse.gohugo.io/t/solved-range-data-dir-not-working/12252/2 "2018-06-08T07:25:19Z")

</div>

Found it  
… there was a missing dot in the shortcode
