Skip to content

Commit 941de68

Browse files
digitaldirklinkdotnet
authored andcommitted
Add read time to blog post
Added read time to top of blog post
1 parent d0dee6b commit 941de68

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/LinkDotNet.Blog.Web/Features/ShowBlogPost/ShowBlogPostPage.razor

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ else if (BlogPost is not null)
5353
<span class="date"></span>
5454
<span class="ms-1">@BlogPost.UpdatedDate.ToShortDateString()</span>
5555
</div>
56+
<span class="read-time"></span>
57+
<span class="me-2">@BlogPost.ReadingTimeInMinutes minute read</span>
5658
@if (BlogPost.Tags is not null && BlogPost.Tags.Any())
5759
{
5860
<div class="d-flex align-items-center">

0 commit comments

Comments
 (0)