blogs/src/layouts/BasicLayout.astro
Neeldhara Misra b47b761f1c feat: Complete multi-blog setup with 12 collections and subdomain routing
- Added 12 blog collections: art, bfs, dfs, problems, puzzles, reviews, reflections, vibes, workflows, magic, contests, poetry
- Created content config with glob loaders for all collections
- Added sample posts for each collection
- Fixed TypeScript collection recognition by removing duplicate config
- Made BlogPosts component collection-aware for proper routing
- Created individual post pages ([...slug].astro) for each collection
- Added Netlify subdomain routing configuration
- Updated all references to use neeldhara.blog as main domain
- Fixed navigation links in all-blogs component

Ready for GitHub/Netlify deployment with subdomain support.
2025-08-10 01:22:06 +05:30

24 lines
617 B
Text

---
import BaseHead from "@/components/BaseHead.astro";
import Navbar from "@/components/sections/navbar";
import Footer from "@/components/sections/footer";
const { title, description } = Astro.props;
---
<html lang="en">
<head>
<BaseHead title={title} description={description} />
</head>
<body class={`h-screen antialiased`}>
<Navbar client:only='react' />
<main>
<section class="mx-auto max-w-2xl px-4 py-16 md:py-28 lg:py-32">
<article class="prose prose-lg dark:prose-invert">
<slot />
</article>
</section>
</main>
<Footer />
</body>
</html>