Initial commit

This commit is contained in:
Cory Dransfeldt 2023-03-11 12:16:06 -08:00 committed by GitHub
commit 5c673525d6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
43 changed files with 9620 additions and 0 deletions

30
src/_includes/post.liquid Normal file
View file

@ -0,0 +1,30 @@
---
layout: main
---
{% include "nav.liquid" %}
<p class="text-5xl md:text-6xl font-black pt-10 md:pt-30 pb-4 leading-tight">
{{ title}}
</p>
<div>
<em>{{ date | date: "%Y-%m-%d" }}</em> &middot;
<span>{{ content | readTime }} min read</span>
</div>
<div class="mt-3 pb-10">
{% for tag in tags %}
{% if tag != "posts" %}
<a href="/tags/{{ tag }}">
<span class="post-tag">{{ tag }}</span>
</a>
{% endif %}
{% endfor %}
</div>
<div class="prose dark:prose-invert hover:prose-a:text-blue-500">
{{ content }}
</div>
{% include "author.liquid" %}