mirror of
https://github.com/hex248/ob248.com.git
synced 2026-02-08 02:33:02 +00:00
improved current page handling
This commit is contained in:
@@ -32,7 +32,12 @@ const { metadata } = Astro.props;
|
||||
}
|
||||
</style>
|
||||
|
||||
<Layout currentPage="projects">
|
||||
<Layout
|
||||
currentPage={{
|
||||
title: `${metadata.title}`,
|
||||
path: `projects/${metadata.slug}`,
|
||||
}}
|
||||
>
|
||||
<div class="text-md">
|
||||
<h1 class="text-2xl text-ayu-accent mb-2">
|
||||
{metadata.title}
|
||||
|
||||
Reference in New Issue
Block a user