Skip to content

NG-ZORRO/blog

Repository files navigation

NG-ZORRO Blog

中文版说明

Write

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.

Metadata

  • 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.

Dark Mode

Built-in dark mode.

License

For code, MIT.

For posts, Creative Common 4.0.