So I have this:
{% include 'partials/nav-page.html' %}
Inside this partial is this:
page1-link / page1-preview / page1-gallery
I want to output this partial on several pages and change a variable inside the partial depending on the page, eg:
{% include 'partials/nav-page.html' variable=“1” %}
AND
page{{ variable }}-link / page{{ variable }}-preview / page{{ variable }}-gallery
Would output:
page1-link / page1-preview / page1-gallery
And
{% include 'partials/nav-book.html' variable=“2” %}
Would output:
page2-link / page2-preview / page2-gallery
Etc
This is a poor explanation, but is this possible? :D