We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 6bf691c commit 3dc823bCopy full SHA for 3dc823b
_pages/books.md
@@ -29,8 +29,8 @@ permalink: /books/
29
{% endfor %}
30
31
<!-- Regular book posts (excluding pinned ones) -->
32
- {% assign regular_book_posts = site.posts | where: "pinned", nil | where_exp: "post", "post.tags contains 'books'" %}
33
- {% for post in regular_book_posts %}
+{% for post in site.posts %}
+ {% if post.tags contains 'books' and post.pinned != true %}
34
<article>
35
<small>
36
Published: {{ post.date | date_to_string }}
@@ -48,5 +48,6 @@ permalink: /books/
48
</div>
49
{% endif %}
50
</article>
51
- {% endfor %}
+ {% endif %}
52
+{% endfor %}
53
0 commit comments