feat: spruce up design

This commit is contained in:
Cory Dransfeldt 2024-04-28 19:06:48 -07:00
parent 2614dff452
commit 94e28067f9
No known key found for this signature in database
51 changed files with 480 additions and 202 deletions

27
src/posts.html Normal file
View file

@ -0,0 +1,27 @@
---
layout: default
pagination:
data: collections.posts
size: 8
reverse: true
alias: posts
---
<div class="posts-wrapper">
{% for post in pagination.items %}
<article class="h-entry">
<div class="flex-centered gap-xs icon-small icon-light">
{% tablericon "calendar-month" "Date" %}
<time class="dt-published" datetime="{{ post.date }}">
{{ post.date | date: "%B %e, %Y" }}
</time>
</div>
<a href="{{ post.url }}">
<h3 class="flex-centered">{{ post.data.title }}</h3>
</a>
<span class="p-author h-card hidden">{{ meta.siteName }}</span>
<div class="p-summary hidden">{{ post.data.post_excerpt }}</div>
{{ post.data.post_excerpt | markdown }}
</article>
{% endfor %}
</div>
{% render "partials/paginator.liquid", pagination:pagination %}