This repository has been archived on 2025-03-28. You can view files and clone it, but cannot push or open issues or pull requests.
coryd.dev-eleventy/src/_includes/post.liquid

22 lines
952 B
Text

---
layout: main
---
{% include "header.liquid" %}
<article class="h-entry">
<h2 class="p-name text-xl md:text-2xl font-black leading-tight dark:text-gray-200 pt-12">{{ title }}</h2>
<span class="p-author h-card hidden">{{ site.title }}</span>
<div class="mt-2 mb-6 text-sm flex flex-row items-center">
<a class="flex flex-row items-center mr-1" href="{{ page.url | blogBackLink: collections.posts }}">
{% heroicon "solid" "arrow-left" "Back" "width=14" %}
<span class="ml-1">Back</span>
</a> •
<time class="ml-1 dt-published" datetime="{{ date }}">{{ date | date: "%m.%d.%Y" }}</time>
</div>
<div class="p-summary hidden">{{ post_excerpt | markdown }}</div>
<div class="e-content prose dark:prose-invert hover:prose-a:text-blue-500 max-w-full text-gray-800 dark:text-white">
{{ content }}
</div>
</article>
{% include "post-tags.liquid" %}
{% include "webmentions.liquid" %}
{% include "author.liquid" %}