A modern, responsive portfolio website built with Astro, featuring multiple pages including a blog system, projects showcase, and about page.
You can preview the project online at:
https://astro-multiplepage-portfolio.edgeone.app/
- 🎨 Modern and clean design with dark/light mode support
- 📱 Fully responsive layout
- 📝 Blog system with Markdown support
- 🚀 Project showcase
- 🔍 Pagination for blog posts
- 🎯 SEO optimized
- 🌙 Dark/Light theme toggle
- 📦 Static site generation
- Framework: Astro 5.x
- Styling: Tailwind CSS
- Content: Markdown with Astro Content Collections
- Syntax Highlighting: Tailwind Typography plugin
- Language: TypeScript
- Build Tool: Vite
- Clone the repository:
git clone https://github.com/tomcomtang/astro-multiplepage-portfolio.git- Install dependencies:
npm install- Run the development server:
npm run dev- Build for production:
npm run build├── src/
│ ├── components/ # Reusable components
│ ├── config/ # Configuration files
│ ├── content/ # Markdown blog posts
│ └── pages/ # Astro pages
└── public/ # Static assets
- Create your markdown files in
src/content/posts/directory - Each markdown file should follow this format:
---
title: Your Post Title
description: A brief description of your post
date: 2024-03-21
readTime: 5 min
---
Your post content here...You can customize the content of different pages by modifying src/config/content.ts:
- Site metadata and social links
- Home page content
- About page content
- Projects showcase
The blog system supports:
- Markdown content
- Code syntax highlighting
- Reading time estimation
- Pagination
- Add new blog posts by creating Markdown files in the
src/content/postsdirectory - Update project information in
src/config/content.ts - Modify site configuration in
src/config/content.ts
MIT
tomcomtang
A personal blog theme template that includes automatic recognition of Markdown content and generates configuration accordingly.