Skip to content

Commit 4a96b7c

Browse files
committed
added not operator
1 parent 67476b9 commit 4a96b7c

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

app/templates/main/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
#}
66
{% block content %}
77
<div class="ui text container">
8-
<h1>Hello {% if (current_user.is_authenticated() == false) %} world {% else %} {{ current_user.full_name() }} {% endif %},</h1>
8+
<h1>Hello {% if not (current_user.is_authenticated()) %} world {% else %} {{ current_user.full_name() }} {% endif %},</h1>
99

1010
<p>This is <a href="http://hack4impact.org">Hack4Impact</a>'s web application template. We'll use this as a
1111
foundation for each of our <a href="http://flask.pocoo.org">Flask</a> projects. The goal is to reduce the work

0 commit comments

Comments
 (0)