From d41eff9eccf66644c4c60f53cb516bf079937a28 Mon Sep 17 00:00:00 2001 From: aman333nolawz Date: Mon, 2 Mar 2026 21:49:13 +0530 Subject: Using astro-erudite for static site generation --- src/pages/index.astro | 85 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 85 insertions(+) create mode 100644 src/pages/index.astro (limited to 'src/pages/index.astro') diff --git a/src/pages/index.astro b/src/pages/index.astro new file mode 100644 index 0000000..019283d --- /dev/null +++ b/src/pages/index.astro @@ -0,0 +1,85 @@ +--- +import BlogCard from '@/components/BlogCard.astro' +import Link from '@/components/Link.astro' +import PageHead from '@/components/PageHead.astro' +import { buttonVariants } from '@/components/ui/button' +import { SITE } from '@/consts' +import Layout from '@/layouts/Layout.astro' +import { getRecentPosts } from '@/lib/data-utils' + +const blog = await getRecentPosts(SITE.featuredPostCount) +--- + + + +
+
+

er·u·dite

+

+ /ˈer(y)əˌdīt/ • adjective +

+
+
+

+ astro-erudite is an opinionated, unstyled static blogging template built + with Astro, Tailwind, and shadcn/ui. Extraordinarily loosely based on the Astro Micro theme. +

+

+ To use this template, check out the GitHub repository. To learn more about why this template exists, read this blog + post: The State of Static Blogs in 2024. +

+
+
+
+

Latest posts

+
    + { + blog.map((post) => ( +
  • + +
  • + )) + } +
+
+ + See all posts → + +
+
+
-- cgit v1.2.3