Skip to content

Commit 219a622

Browse files
committed
fix
1 parent e7414b2 commit 219a622

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

_pages/tech.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,8 +29,8 @@ permalink: /tech/
2929
{% endfor %}
3030

3131
<!-- 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 %}
32+
{% for post in site.posts %}
33+
{% if post.tags contains 'tech' and post.pinned != true %}
3434
<article>
3535
<small>
3636
Published: {{ post.date | date_to_string }}
@@ -48,5 +48,6 @@ permalink: /tech/
4848
</div>
4949
{% endif %}
5050
</article>
51-
{% endfor %}
51+
{% endif %}
52+
{% endfor %}
5253
</div>

assets/main.scss

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33

44
@import "minima";
55

6+
// Your custom CSS goes here
67

78
.site-header {
89
border-top: none;

0 commit comments

Comments
 (0)