Skip to content

Commit

Permalink
do thing
Browse files Browse the repository at this point in the history
  • Loading branch information
bitbloxhub committed Jul 23, 2023
1 parent e610924 commit 861402e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/BlogPost.astro
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ const { title, url, minutesRead, pubDate } = Astro.props

<li>
<a href={url}>{title}</a> <br />
approximately {minutesRead}, published {pubDate.slice(0,10)}
Approximately {minutesRead}, published {pubDate.slice(0,10)}
</li>
1 change: 1 addition & 0 deletions src/layouts/MarkdownPostLayout.astro
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ const { frontmatter } = Astro.props
<h1>{frontmatter.title}</h1>
<p>Written by {frontmatter.author}</p>
<p>Published on {frontmatter.pubDate.slice(0,10)}</p>
<p>Approximately {frontmatter.minutesRead}</p>
<slot />
</main>
</Layout>

0 comments on commit 861402e

Please sign in to comment.