Skip to content

bluenex/bluenex.github.io

Repository files navigation

Bluenex's personal website

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.

Tech stack

  • Astro
  • TypeScript
  • Tailwind CSS

Editor

Visual Studio Code with Tailwind CSS IntelliSense extension.

Dev

npm run dev

Deployment

Currently deploy on Cloudflare Pages and can be accessed at https://bluenex.dev.

Add a blog post

A new post can be added in /content/posts directory with a file name format:

{year}-{month}-{date}-{title-as-kebab-case}.md

*kebab-case

Support frontmatter:

{
  title: string;
  date: string;
  modified?: string;
  tags?: string[];
}

Note

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.