Fix no spaces before reading time

This commit is contained in:
prototypa
2024-03-02 14:10:58 -05:00
parent 838ea28b35
commit bfe052cb82

View File

@@ -30,7 +30,7 @@ const { Content } = post;
post.author && ( post.author && (
<> <>
{' '} {' '}
·{' '}<Icon name="tabler:user" class="w-4 h-4 inline-block -mt-0.5 dark:text-gray-400" /> · <Icon name="tabler:user" class="w-4 h-4 inline-block -mt-0.5 dark:text-gray-400" />
<span class="inline-block">{post.author}</span> <span class="inline-block">{post.author}</span>
</> </>
) )
@@ -46,7 +46,13 @@ const { Content } = post;
</> </>
) )
} }
{post.readingTime && <> · {post.readingTime} min read</>} {
post.readingTime && (
<>
&nbsp;· <span>{post.readingTime}</span> min read
</>
)
}
</p> </p>
</div> </div>