kopia lustrzana https://github.com/wagtail/wagtail
Replace unneeded length filter
I asked the question about using the `length` filter in https://github.com/wagtail/wagtail/discussions/7598 and I'm thinking it may not be needed anymore with the current version of Django that Wagtail supports.pull/7605/head
rodzic
5a65cb7554
commit
77913bc220
|
@ -731,7 +731,7 @@ you need to create a template `blog/blog_tag_index_page.html`:
|
|||
|
||||
{% block content %}
|
||||
|
||||
{% if request.GET.tag|length %}
|
||||
{% if request.GET.tag %}
|
||||
<h4>Showing pages tagged "{{ request.GET.tag }}"</h4>
|
||||
{% endif %}
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue