Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/cyrusyip/cyrusyip-blog
Cyrus Yip's Blog built with Hugo | 叶寻的博客
https://github.com/cyrusyip/cyrusyip-blog
blog giscus hugo hugo-site hugo-theme-yue
Last synced: 2 months ago
JSON representation
Cyrus Yip's Blog built with Hugo | 叶寻的博客
- Host: GitHub
- URL: https://github.com/cyrusyip/cyrusyip-blog
- Owner: CyrusYip
- License: mit
- Created: 2020-11-01T13:08:51.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-09-17T16:39:54.000Z (3 months ago)
- Last Synced: 2024-09-17T20:53:55.007Z (3 months ago)
- Topics: blog, giscus, hugo, hugo-site, hugo-theme-yue
- Language: HTML
- Homepage: https://cyrusyip.org/
- Size: 1.89 MB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: .github/CONTRIBUTING.md
- License: LICENSE.md
Awesome Lists containing this project
README
# Cyrus Yip's Blog
This is Cyrus Yip's personal website. The [content of all pages](content) is licensed under [CC BY-NC-SA 4.0](https://creativecommons.org/licenses/by-nc-sa/4.0/), other files are licensed under [MIT](LICENSE.md).
## Usage
The minimal requirement is Git and Hugo.
```bash
# 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](https://github.com/estruyf/vscode-front-matter) to manage content.
```bash
# Clone this repo with its submodule.
git clone --recursive [email protected]: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
```## Upgrade Hugo
To upgrade Hugo, modify `hugo_bin_hugo_version` in `.npmrc`.
```diff
-hugo_bin_hugo_version = "0.134.3"
+hugo_bin_hugo_version = "0.135.0"
```Then run `pnpm update --latest`.
## Contributing Guidelines
See [CONTRIBUTING.md](.github/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*.