I'm having a hard time understanding how to access specific data from a sibling page. I have the code below which I am able to access the url path for the next post, but how do I access a variable I have set? For example, I have "hero_image1" which I need to pull in....
{% if not progress.isFirst(page.path) %}
<a class="" href="{{ progress.nextSibling(page.path).url }}"> <i class="fa fa-chevron-left"></i></a>
<img src="{{ page.media[page.header.hero_image1].url}} " alt="{{ page.header.hero_image1 }}" class="img-fluid photos_inline">
{% endif %}
Any thoughts on this one?