feat: spruce up design
This commit is contained in:
parent
2614dff452
commit
94e28067f9
51 changed files with 480 additions and 202 deletions
27
src/posts.html
Normal file
27
src/posts.html
Normal 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 %}
|
Reference in a new issue