You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been using Metalsmith static site generator for some time and I believe is a great tool. Now I started using metalsmith-collections plugin but I stumbled across this issue.
Given the case that I have two collections defined, for instance "en_news" and "sp_news" and the following news.hbt file:
I use the rollup property from my YAML front-matter to define my dynamic collection. Then I use the Handlebars lookup helper inside a subexpression (the parens) in the #each.
I've been using Metalsmith static site generator for some time and I believe is a great tool. Now I started using metalsmith-collections plugin but I stumbled across this issue.
Given the case that I have two collections defined, for instance "en_news" and "sp_news" and the following news.hbt file:
Now in the .md file I want the collection to be either collection.en_news:
...or collection.sp_news:
How can I use "lang-collection" inside test.hbt to define the used collection?
Of course the following does not work:
Thanks in advance!
The text was updated successfully, but these errors were encountered: