Skip to content

Commit

Permalink
Fix community list template title
Browse files Browse the repository at this point in the history
The community list template was expecting a context variable called
page_title to be used for rendering the page title even though the view
using the template doesn't populate such a variable.

Replace the variable usage with a constant value in the template
directly.
  • Loading branch information
MythicManiac committed Sep 5, 2024
1 parent f6683b2 commit 67047c2
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
{% cache 300 templates.community.list %}

<div class="row">
<h3 class="col-12 mt-4">{{ page_title }}</h3>
<h3 class="col-12 mt-4">All communities</h3>
</div>

{% if object_list %}
Expand Down

0 comments on commit 67047c2

Please sign in to comment.