Add 'back to home' link on blog posts
This commit is contained in:
@@ -24,6 +24,11 @@ export function Post({ children, meta }: PostProps) {
|
||||
<main>
|
||||
<article className="blog-post">
|
||||
<header className="post-header">
|
||||
<div className="back-button">
|
||||
<a href="/" className="back-link">
|
||||
<span className="back-arrow">←</span> Back to Home
|
||||
</a>
|
||||
</div>
|
||||
<h1>{meta.title}</h1>
|
||||
<div className="post-meta">
|
||||
{meta.date && meta.date instanceof Date &&
|
||||
|
||||
Reference in New Issue
Block a user