h-entry classes on posts

This commit is contained in:
Cory Dransfeldt 2023-03-16 13:32:52 -07:00
parent 4dd6cc9313
commit 985ac0f0bd
No known key found for this signature in database
2 changed files with 34 additions and 24 deletions

View file

@ -3,14 +3,16 @@ layout: main
---
{% include "header.liquid" %}
<h2 class="text-xl md:text-2xl font-black leading-tight dark:text-gray-200 pt-12">{{title}}</h2>
<div class="mt-2 mb-6 text-sm">
{{ date | date: "%m.%d.%Y" }}
</div>
<div class="prose dark:prose-invert hover:prose-a:text-blue-500 max-w-full text-gray-800 dark:text-white">
{{ content }}
</div>
<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">
<time class="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 "webmentions.liquid" %}
{% include "author.liquid" %}