From 0aacd58c3f04d2d2048782ee54dc0a79ef4ccafe Mon Sep 17 00:00:00 2001 From: Darius Cepulis Date: Mon, 27 Oct 2025 13:13:04 -0500 Subject: [PATCH] chore(website): hide blog --- website/TODO.md | 1 + website/public/robots.txt | 2 ++ website/src/components/Footer.astro | 2 +- website/src/components/NavBar/NavBar.astro | 2 +- 4 files changed, 5 insertions(+), 2 deletions(-) create mode 100644 website/public/robots.txt diff --git a/website/TODO.md b/website/TODO.md index 22d80790..f02048b4 100644 --- a/website/TODO.md +++ b/website/TODO.md @@ -9,3 +9,4 @@ not comprehensive. just the things I'm worried about forgetting - docs features - copy code blocks - search +- update docs following dev diff --git a/website/public/robots.txt b/website/public/robots.txt new file mode 100644 index 00000000..5b5de2b8 --- /dev/null +++ b/website/public/robots.txt @@ -0,0 +1,2 @@ +User-agent: * +Disallow: /blog/ diff --git a/website/src/components/Footer.astro b/website/src/components/Footer.astro index 05fe3345..b63dba83 100644 --- a/website/src/components/Footer.astro +++ b/website/src/components/Footer.astro @@ -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' }, ]; diff --git a/website/src/components/NavBar/NavBar.astro b/website/src/components/NavBar/NavBar.astro index 3351821d..8dfc0edb 100644 --- a/website/src/components/NavBar/NavBar.astro +++ b/website/src/components/NavBar/NavBar.astro @@ -18,7 +18,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;