This is my personal website ported from Next.js to Astro recently (1 Dec 2024). There is also a blog which I occasionally update as a diary and personal geek note. I am not a good storyteller but sometimes the feeling is just right.
- Astro
- TypeScript
- Tailwind CSS
Visual Studio Code with Tailwind CSS IntelliSense extension.
npm run dev
Currently deploy on Cloudflare Pages and can be accessed at https://bluenex.dev.
A new post can be added in /content/posts
directory with a file name format:
{year}-{month}-{date}-{title-as-kebab-case}.md
Support frontmatter:
{
title: string;
date: string;
modified?: string;
tags?: string[];
}
I don't use Astro Content API as described in the official documentation. Instead, I ported working code from Next.js to Astro and keep using parser like gray-matter
and remark
for markdown processing.