Setup and Customize This Theme
A step-by-step guide to setting up and personalizing the astro-erudite theme for your own portfolio.
This guide walks you through setting up and customizing this Astro theme for your own use.
Installation
git clone https://github.com/vanam-san/vanam-erudite2.gitcd vanam-eruditebun installStart the dev server:
bun run devConfiguration
Edit src/consts.ts to personalize your site:
export const SITE = { title: "Your Site", description: "Your description.", locale: "en-US", dir: "ltr", defaultPageImage: "/static/opengraph-image.png", defaultPostImage: "/static/1200x630.png",}
export const HERO = { name: "Your Name", title: "Your Title", bio: "Short bio about yourself.",}
export const NAVIGATION = [ { href: "/about", label: "About" }, { href: "/blog", label: "Blog" }, { href: "/gallery", label: "Gallery" }, { href: "/projects", label: "Projects" },]
export const SOCIALS = [ { href: "https://github.com/yourusername", label: "GitHub", icon: GitHub }, { href: "mailto:your@email.com", label: "Email", icon: Email }, { href: "/rss.xml", label: "RSS", icon: RSS },]Adding Content
Blog Posts
Create a folder in src/content/blog/ with an index.md:
---title: 'My Post'description: 'Post description'date: 2026-01-01authors: ['your-author-id']tags: ['tag1', 'tag2']draft: false---
Your content here.Projects
Create markdown files in src/content/projects/:
---name: 'Project Name'description: 'Description'link: 'https://github.com/you/project'tags: ['TypeScript', 'React']startDate: 2024-01-01endDate: 2024-06-01draft: false---Galleries
Create a folder in src/content/gallery/ with images and an index.md:
---title: 'Gallery Title'description: 'Description'date: 2026-01-01cover: './cover.jpg'photos: - './photo1.jpg' - './photo2.jpg'draft: false---Authors
Create files in src/content/authors/:
---name: 'Your Name'avatar: './avatar.jpg'bio: 'Your bio'socials: github: 'https://github.com/you'---Environment Variables
Copy .env.example to .env and fill in:
PUBLIC_UMAMI_WEBSITE_ID— Umami analyticsPUBLIC_GISCUS_REPO— GitHub repo for comments
Deployment
Build and deploy to your preferred platform:
bun run buildThe output is in dist/. Deploy to Vercel, Netlify, Cloudflare Pages, or any static host.