Add files to post from static directory

HI there, I am using some .mxl files with the folliwing command:

{{< music-xml "./test.mxl" >}}

The test.mxl file must be in the folder that has the name of the webpage.
Can I put all the .mxl files in static directory and call them from there? And if I can how can I do it?
Thanks in advance

If it were me, I’d do something like this instead:

content/
├── songs/
│   ├── song-1/
│   │   ├── a.mxl
│   │   ├── b.mxl
│   │   └── index.md
│   └── song-2/
│       ├── c.mxl
│       ├── d.mxl
│       └── index.md
└── _index.md

https://gohugo.io/content-management/page-bundles/

This topic was automatically closed 2 days after the last reply. New replies are no longer allowed.