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
Basically, the book.html filesare the index files (I should have named them index.html).
A scenario I had in mind when I created this helper is the ability to include just an excerpt from each of the targeted files (here, chapters), along with a relative link to the actual separately-rendered chapter.html files. make sense?
The text was updated successfully, but these errors were encountered:
The only think I can think of right away is to loop over the pages collection looking for the file with the src that you're looking for and calculate the relative path from the dest.
Either that or if you know (based on your configuration) that the files you use in the compose helper will be rendered to the same relative place as their dest (but you can't know that in all situations).
@doowb can you think of a clever way to get relative paths to the dest files in the following scenario? https://github.com/helpers/handlebars-helper-compose/tree/master/test/actual/dynamic
Basically, the
book.html
filesare the index files (I should have named themindex.html
).A scenario I had in mind when I created this helper is the ability to include just an excerpt from each of the targeted files (here, chapters), along with a relative link to the actual separately-rendered chapter.html files. make sense?
The text was updated successfully, but these errors were encountered: