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

View file

@ -1,27 +1,6 @@
---
layout: default
pagination:
data: collections.posts
size: 8
reverse: true
alias: posts
---
{% if pagination.pageNumber == 0 %}
{% render "partials/now/topper.liquid" status:status, artists:music.artists, books:books, tv:tv %}
{% endif %}
{% for post in pagination.items %}
<article class="h-entry">
<time class="dt-published" datetime="{{ post.date }}">
{{ post.date | date: "%B %e, %Y" }}
</time>
<a href="{{ post.url }}">
<h2 class="flex-centered">{{ post.data.title }}</h2>
</a>
<div class="text-small">{% render "partials/tags.liquid", tags:post.data.tags %}</div>
<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 }}
<p><a href="{{ post.url }}">Read more →</a></p>
</article>
{% endfor %}
{% render "partials/paginator.liquid", pagination:pagination %}
{% render "partials/now/topper.liquid" status:status, artists:music.artists, books:books, tv:tv %}
{% render "partials/posts.liquid" icon: "star", title: "Featured", postData:collections.posts, postType: "featured" %}
{% render "partials/posts.liquid" icon: "clock-2", title: "Recent posts", postData:collections.posts %}