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

Add else tag to templating engine #33

Open
auscompgeek opened this issue Sep 26, 2015 · 0 comments
Open

Add else tag to templating engine #33

auscompgeek opened this issue Sep 26, 2015 · 0 comments

Comments

@auscompgeek
Copy link
Contributor

The header template currently has an awkward set of tags:

    {% if user_name %}
        <a href="/profile">{{user_name}}</a>
        <a href="/logout">Logout</a>
    {% end if %}
    {% if not user_name %}
        <a href="/login">Login</a>
    {% end if %}

An else tag would be nice.

/cc @lkw657 @lachers

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

No branches or pull requests

1 participant