We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
If I put a locals variable in my wintersmith config file like this:
"locals": { "title": "Some title" }
and then use the variable in a nunjucks template like this:
{{ locals.title }}
It renders as blank in the generated output.
The text was updated successfully, but these errors were encountered:
@jnordberg Could you take a look at this if you've got some time?
Sorry, something went wrong.
Hm, did {{ locals.title }} work in the previous version? AFAIK wintersmith-nunjucks has always exposed the locals at root level, i.e. {{ title }}
{{ title }}
No branches or pull requests
If I put a locals variable in my wintersmith config file like this:
and then use the variable in a nunjucks template like this:
{{ locals.title }}
It renders as blank in the generated output.
The text was updated successfully, but these errors were encountered: