diff options
author | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-16 20:25:27 +0200 |
---|---|---|
committer | Loek Le Blansch <loek@pipeframe.xyz> | 2024-10-16 20:25:27 +0200 |
commit | 9b4fb13f94bc8fa2f7d50519652bead8ede4ee3a (patch) | |
tree | bf9f324c19e92a4759535cd3793366eebfae0439 /index.md | |
parent | b07eb8d1c06e582e5f177c159d820778029a9d93 (diff) |
move stuff around
Diffstat (limited to 'index.md')
-rw-r--r-- | index.md | 20 |
1 files changed, 10 insertions, 10 deletions
@@ -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} |