Skip to content

Deprecate <import> and <variable> #1353

Description

@ang-zeyu

Is your request related to a problem?

Opening an issue to track: #751 (comment)

Describe the solution you'd like

  • allow <include><variable>...</variable></include> to override {% set / import %}
  • re-implement external json variables using a custom nunjucks tag
  • add deprecation warnings after the above for <import> and <variable>
  • add live preview for nunjucks sources (anytime)
  • finally, remove <import> and <variable> (v3.0)

Additional context

See discussion here #751 (comment)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions