Closed HaoZeke closed 6 years ago
That assumes you can pass the full path...
@HaoZeke handlebars renders string templates so there isn't a way to know that the filename is. You'll need to pass that on the context to handlebars, then you can use the path
helpers that Jon linked to.
So maybe something like
{{fname}} which should give the name.html of the current page?