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