Skip to content
New issue

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

added line statements #651

Merged
merged 2 commits into from
Mar 24, 2019
Merged

added line statements #651

merged 2 commits into from
Mar 24, 2019

Conversation

josephmancuso
Copy link
Member

Not sure why it took so long to do this but I added jinja2 line statements. Instead of writing templates like this:

{% extends 'base/nav.html' %}

{% block content %}

{% if some_variable %}
    {{ variable }}
{% endif %}

{% endblock %}

we can now do:

@extends 'base/nav.html'

@block content
    @if some_variable:
        {{ variable }}
    @endif
@endblock

@coveralls
Copy link

coveralls commented Mar 24, 2019

Coverage Status

Coverage remained the same at 87.934% when pulling 494e748 on feature-650-1 into 283edc9 on master.

@josephmancuso josephmancuso requested a review from a team March 24, 2019 02:21
@josephmancuso josephmancuso merged commit 0330986 into master Mar 24, 2019
@josephmancuso josephmancuso deleted the feature-650-1 branch April 1, 2019 00:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants