Skip to content

Commit

Permalink
Fix home showing wrong page for authenticated users
Browse files Browse the repository at this point in the history
  • Loading branch information
pablodiegoss committed Feb 15, 2025
1 parent 7871500 commit aa98813
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/core/jinja2/core/home.jinja2
Original file line number Diff line number Diff line change
Expand Up @@ -32,10 +32,10 @@
{% include "core/header.jinja2" %}

{% include "core/useful_links.jinja2" %}
{% if (request.user.is_authenticated and request.path == '/community/') or (request.path == '/community/')%}
{% if (request.path == '/community/') %}
{% block community %}
{% endblock %}
{% elif not (request.user.is_authenticated) and (request.path == "/") %}
{% elif (request.path == "/") %}
<section class="use-guide">
<div class="container">
<h2>{{_("Welcome to Jandig")}}</h2>
Expand Down

0 comments on commit aa98813

Please sign in to comment.