chore: middleware
This commit is contained in:
parent
45b6e113b5
commit
3ab6f77a69
18 changed files with 180 additions and 36 deletions
|
@ -1,7 +1,8 @@
|
|||
---
|
||||
import Menu from '@components/nav/Menu.astro';
|
||||
|
||||
const { nav, siteName, url } = Astro.props;
|
||||
const { siteName, url } = Astro.props;
|
||||
const { nav } = Astro.locals;
|
||||
const isHomePage = url === '/';
|
||||
---
|
||||
|
||||
|
|
Reference in a new issue