Add blog details and divider

This commit is contained in:
2024-06-30 01:30:05 +02:00
parent d44aaee019
commit 24d229463a

View File

@@ -35,6 +35,9 @@ useHead({
Go back
</NuxtLink>
</div>
<div class="mb-2 border-l-2 pl-2 border-gray-300 dark:border-gray-700 rounded-sm">
{{ useDateFormat(post.publishedAt, 'DD MMMM YYYY').value }} - {{ post.readingTime }}min.
</div>
<AppTitle
:description="post.description"
:title="post.title ?? 'Untitled'"
@@ -48,6 +51,10 @@ useHead({
alt="Writing cover"
/>
</div>
<UDivider
class="mt-8"
icon="i-ph-pencil-line-duotone"
/>
<article class="mt-8">
<ContentRenderer :value="post">
<ContentRendererMarkdown