website/_layouts/post.html

16 lines
356 B
HTML

---
layout: default
---
<div class="w-full md:max-w-prose mt-2 mx-auto">
<div class="px-8">
<h1 class="text-3xl">{{ page.title }}</h1>
<span>Posted by <span class="italic">{{ page.author }}</span> on {{ page.date | date: "%d.%m.%Y" }}</span>
<article class="mt-5 prose lg:prose-lg">
{{ page.content }}
</article>
</div>
</div>