Skip to content
/ blog Public
generated from nicholasdly/miniblog

A blog using the Miniblog template for the Astro framework

License

Notifications You must be signed in to change notification settings

yutatokoi/blog

Repository files navigation

Yuta Tokoi's Blog

This blog uses the Miniblog template for the Astro web framework.

Getting Started

  1. Enter Nix development shell:
nix-shell
  1. Install dependencies:
npm install
  1. Start the development server:
npm run dev
  1. Optionally, format your code after making changes:
npm run format

Customization

Site Configuration

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 | 床井祐太のウェブサイト";

Blog Posts

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"
---

Markdown Styling

All Markdown-specific CSS styling is customizable in src/styles/global.css:

@layer components {
  article {
    /* ... */
  }
}

License

This project is open source and available under the MIT License.