Bypass hidden posts in home page pagination (fix #504)
This commit is contained in:
parent
2b66ad0441
commit
08a993be90
1 changed files with 1 additions and 1 deletions
|
@ -6,7 +6,7 @@ layout: page
|
|||
{% include lang.html %}
|
||||
|
||||
{% assign pinned = site.posts | where: "pin", "true" %}
|
||||
{% assign default = site.posts | where_exp: "item", "item.pin != true" %}
|
||||
{% assign default = site.posts | where_exp: "item", "item.pin != true and item.hidden != true" %}
|
||||
|
||||
{% assign posts = "" | split: "" %}
|
||||
|
||||
|
|
Loading…
Reference in a new issue