Follow these steps to write a new article:
- Create a dir under
content/blog/
. - Create an
index.md
file which would be considered as a post in the default language (Simplified Chinese).- All static resources can be put into the same dir.
- (Optional) Create translations with name patterns like
index.{languageId}.md
.
- title
- date
- description
- (Optional) author
- (Optional) category. Please make sure you use keys in posts, and write translations in
i18n.js
. - (Optional) tags. Please make sure you use keys in posts, and write translations in
i18n.js
.
Built-in dark mode.
For code, MIT.
For posts, Creative Common 4.0.