Skip to content

Cyrus Yip's Blog built with Hugo | 叶寻的博客

License

Notifications You must be signed in to change notification settings

CyrusYip/cyrusyip-blog

Repository files navigation

Cyrus Yip's Blog

This is Cyrus Yip's personal website. The content of all pages is licensed under CC BY-NC-SA 4.0, other files are licensed under MIT.

Usage

The minimal requirement is Git and Hugo.

# Clone this repo with its submodule.
git clone --recursive https://github.com/CyrusYip/cyrusyip-blog.git
# Preview
cd cyrusyip-blog
hugo server

I use pnpm to manage Hugo version, and estruyf/vscode-front-matter to manage content.

# Clone this repo with its submodule.
git clone --recursive git@github.com:CyrusYip/cyrusyip-blog.git
# git clone --recursive https://github.com/CyrusYip/cyrusyip-blog.git

# Install Hugo
cd cyrusyip-blog
pnpm install # Use --force flag when postinstall script is not running

# Preview
pnpm run server

# Build
pnpm run build

Contributing Guidelines

See CONTRIBUTING.md.

Note

  • Before 2024-03-13, the date in /content/**/*.md indicates when I start writing an article (usually unfinished). After 2024-03-13, the date in /content/**/*.md indicates when I finish the first draft, which will undergo multiple edits. T00:00:00 means the exact time is unknown, and only date part (e.g. 2022-06-30) is correct.
  • The article title follows The Chicago Manual of Style.