papatutuwawa.pages.polynom.me/posts.html

27 lines
673 B
HTML

---
layout: default
title: Blog Posts | Moxxy
---
<div class="w-full flex flex-row justify-center mt-2">
<div class="w-full lg:w-1/2 px-8 flex flex-col items-start">
<h1 class="text-3xl">Blog posts</h1>
<div class="divide-y divide-blue-200">
{% for post in site.posts %}
<div class="mb-2">
<a href="{{ post.url }}" class="text-2xl text-sky-400">{{ post.title }}</a>
<div class="flex flex-row pl-2">
<span>By <span>{{ post.author }}</span></span>
</div>
<p class="mt-2 pl-2 text-slate-600">
{{ post.excerpt | markdownify | strip_html | truncatewords: 100 }}
</p>
</div>
{% endfor %}
</div>
</div>
</div>