mirror of
https://github.com/zoriya/v10.git
synced 2026-08-15 02:14:06 +00:00
feat(site): add blog to navigation
This commit is contained in:
@@ -13,7 +13,7 @@ type NavLink = {
|
||||
const navLinks: NavLink[] = [
|
||||
{ href: '/', label: 'Home' },
|
||||
{ href: '/docs', label: 'Docs' },
|
||||
// { href: '/blog', label: 'Blog' },
|
||||
{ href: '/blog', label: 'Blog' },
|
||||
{ href: '/privacy', label: 'Privacy' },
|
||||
];
|
||||
|
||||
|
||||
@@ -20,7 +20,7 @@ type NavLink = {
|
||||
};
|
||||
const navLinks: NavLink[] = [
|
||||
{ href: '/docs', label: 'Docs', matchPath: '/docs' },
|
||||
// { href: '/blog', label: 'Blog', matchPath: '/blog' },
|
||||
{ href: '/blog', label: 'Blog', matchPath: '/blog' },
|
||||
];
|
||||
|
||||
const currentPath = Astro.url.pathname;
|
||||
|
||||
Reference in New Issue
Block a user