Accessing outer variable from a Nested Context

I am trying to access a variable from the parent context in a child context like so;

{{#post}}

 {{#get "tags"}}

 <!-- How can i access the post url in here? !>
 
 {{/get}}

 {{/post}}

You can do this by using paths:

e.g. Post title:

{{../title}}

Here’s a (somewhat technical) explainer: handlebars docs

1 Like

Excellent! Thanks for saving the day :smiley:

1 Like