aboutsummaryrefslogtreecommitdiff
path: root/index.md
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-16 20:25:27 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-16 20:25:27 +0200
commit9b4fb13f94bc8fa2f7d50519652bead8ede4ee3a (patch)
treebf9f324c19e92a4759535cd3793366eebfae0439 /index.md
parentb07eb8d1c06e582e5f177c159d820778029a9d93 (diff)
move stuff around
Diffstat (limited to 'index.md')
-rw-r--r--index.md20
1 files changed, 10 insertions, 10 deletions
diff --git a/index.md b/index.md
index d80d642..e1758b9 100644
--- a/index.md
+++ b/index.md
@@ -27,16 +27,16 @@ https://{{ site.domain }}/atom.xml
## Recent posts
<div class="recentPosts">
-{% for post in site.posts limit:4 %}
- <div class="postCard">
- <a href="{{ post.url }}">
- <img src="{{ post.cover }}" alt="post cover" class="cover">
- <h2 class="title">{{ post.title }}</h2>
- <strong class="subtitle">{{ post.subtitle }}</strong>
- </a>
- {% include tags.html tags=post.tags %}
- </div>
-{% endfor %}
+ {% for post in site.items limit:4 %}
+ <div class="postCard">
+ <a href="{{ post.url }}" class="nolink block">
+ <img src="{{ post.cover }}" alt="post cover" class="cover">
+ <h2 class="title">{{ post.title }}</h2>
+ <strong class="subtitle">{{ post.subtitle }}</strong>
+ </a>
+ {% include tags.html tags=post.tags %}
+ </div>
+ {% endfor %}
</div>
[Go to all posts](/search){:.button}