Skip to content

Cyrus Yip's Blog built with blogdown and 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.

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 npm to manage Hugo version, and estruyf/vscode-front-matter to manage content.

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

# Install Hugo
cd cyrusyip-blog
npm install

# Preview
npm run dev

# Build
npm run build

Contributing Guidelines

See CONTRIBUTING.md.

Note

Changes

  1. Posts after 2024-05-11 use a detailed date that contains time and timezone, such as 2024-05-12T00:22:18+08:00. Posts before 2024-05-11 use a undetailed date, such as '2023-12-20'. If I change the undetailed dates into the detailed ones, lastmod will be changed, which is unwanted. Thus I keep them unchanged for now.