This blog uses the Miniblog template for the Astro web framework.
- Enter Nix development shell:
nix-shell
- Install dependencies:
npm install
- Start the development server:
npm run dev
- Optionally, format your code after making changes:
npm run format
Edit the src/consts.ts
file to update your information and site's metadata:
export const SITE_URL = "https://yutatokoi.com";
export const SITE_TITLE = "Yuta Tokoi";
export const SITE_DESCRIPTION = "Yuta Tokoi's Website | 床井祐太のウェブサイト";
Add new blog posts as Markdown or MDX files in the src/content/posts/
directory. Use the following frontmatter structure:
---
title: "Lorem Ipsum"
description: "Lorem ipsum dolor sit amet."
date: "2024-11-06"
---
All Markdown-specific CSS styling is customizable in src/styles/global.css
:
@layer components {
article {
/* ... */
}
}
This project is open source and available under the MIT License.