Skip to content

Jinja support #165

Open
Open
@HiPhish

Description

@HiPhish

Hello,

is this library compatible with Jinja? I have been able to use it with Django templates just fine, but when I wanted to try it in a Jinja template this part stumped me:

{% load django_simple_nav %}

{% block navigation %}
<nav>
  {% django_simple_nav "path.to.MainNav" %}
</nav>
{% endblock navigation %}

I cannot use load in Jinja, so I guess there must be another way to get django_simple_nav into the template. Is it possible to use Jinja, and if not, then what would it take to get Jinja compatibility?

Metadata

Metadata

Assignees

No one assigned

    Labels

    👶 good first issueGood for newcomers🕵️ needs researchIssue that requires further investigation or information gathering🙌 up for grabsIssues not currently being pursued, but are open for external contributions🧪 needs testsFeature or change that requires additional tests

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions