Skip to content

Nested Variables in include, metadata #93

Answered by fralau
tmeuze asked this question in Q&A
Discussion options

You must be logged in to vote

That does not seem too difficult.

Could you try this?

{% include "path/to/" + nav_item.meta.uniquename %}

There should be no need to "nest", since the content of curly braces is more or less Python syntax.

(I am not sure what nav_item is, but I trust it is a good page descriptor?)

Replies: 1 comment 4 replies

Comment options

You must be logged in to vote
4 replies
@tmeuze
Comment options

@tmeuze
Comment options

@fralau
Comment options

@tmeuze
Comment options

Answer selected by tmeuze
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
useful tip A how-to, good to know stale No news, closing
2 participants