Skip to content
This repository has been archived by the owner on Dec 10, 2019. It is now read-only.

Add support for variables in partial includes #1

Open
dnwhte opened this issue Oct 19, 2017 · 0 comments
Open

Add support for variables in partial includes #1

dnwhte opened this issue Oct 19, 2017 · 0 comments

Comments

@dnwhte
Copy link
Member

dnwhte commented Oct 19, 2017

Nunjucks supports using variables in includes. This is problematic in Pattern Lab. Variables may come from global data, partial data, parent partial, or the partial itself. Look into adding support for includes such as:

{% include name + ".njk" %}
{% extends parentTemplate %}

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

1 participant