mirror of
https://github.com/Hopiu/wagtail.git
synced 2026-04-17 21:41:01 +00:00
Fix the inconsistent use of blogpages
`page.get_children` was changed earlier to `blogpages` in order to show the blog posts ordered and hide the unpublished ones
This commit is contained in:
parent
f194130e47
commit
e1aeb9ea4b
2 changed files with 2 additions and 1 deletions
|
|
@ -192,6 +192,7 @@ Contributors
|
|||
* PyMan Claudio Marinozzi
|
||||
* Jeffrey Chau
|
||||
* Craig Loftus
|
||||
* Mihail Russu
|
||||
|
||||
Translators
|
||||
===========
|
||||
|
|
|
|||
|
|
@ -532,7 +532,7 @@ This method is now available from our templates. Update ``blog_index_page.html``
|
|||
|
||||
...
|
||||
|
||||
{% for post in page.get_children %}
|
||||
{% for post in blogpages %}
|
||||
{% with post=post.specific %}
|
||||
<h2><a href="{% pageurl post %}">{{ post.title }}</a></h2>
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue