h-entry classes on posts
This commit is contained in:
parent
4dd6cc9313
commit
985ac0f0bd
2 changed files with 34 additions and 24 deletions
|
@ -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" %}
|
||||
|
|
Reference in a new issue