foundation / foundation/panini
{{root}} helper doesn't work as intended in all situations
Open
- Dominant language
- JavaScript
- Stars
- 593
- Forks
- 104
- PR merge metrics
- No merged PRs in 30d
Description
It seems that Panini specific helper {{root}} doesn't always work as intended.
Take this folder structure for example:
```
/site/
|-data/
|-galery.yml
|-pages/
|-en/
|-test_page.html
```
Data galery.yml is just a list of image URL's
If I use {{root}} from withing an article located in /pages/en/test-page.com and if I don't wrap it in some other Panini helpers - it will work as intended, but if I use it like this
`{{#each galery.team }}
Image root: {{root}}
{{/each}}`It will not work at all.
Contributor guide
No contributing guide indexed for this repository
Assessment
This issue has not been assessed yet.