generated from autonomic-cooperative/astro-payload-template
Fix typo & remove back button
This commit is contained in:
parent
7234cef7e1
commit
467b4bb0ad
@ -42,4 +42,4 @@ const posts = await getPosts();
|
||||
}
|
||||
</div>
|
||||
</main>
|
||||
</CLayout>
|
||||
</ContentLayout>
|
||||
|
@ -20,11 +20,10 @@ const post = id && (await getPost(id));
|
||||
post ? (
|
||||
<ContentLayout title={`Paystro | ${post.title!}`}>
|
||||
<div class="space-y-3 my-3">
|
||||
<a href="/">BACK</a>
|
||||
<h1 class="font-bold text-5xl">{post.title}</h1>
|
||||
{post.content && <Content content={post.content} />}
|
||||
</div>
|
||||
</CLayout>
|
||||
</ContentLayout>
|
||||
) : (
|
||||
<div>404</div>
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user