update readme

This commit is contained in:
Mivinci 2022-11-09 00:05:50 +08:00
parent 3da0bb149b
commit 3b6079c2a5

View file

@ -1,11 +1,12 @@
# Minima # Minima
A clean and minimal Hugo theme porting from [Hexo Minima](https://github.com/adisaktijrs/hexo-theme-minima). See the [demo site](https://mivinci.github.io/hugo-theme-minima). A clean and minimal Hugo theme porting from [Hexo Minima](https://github.com/adisaktijrs/hexo-theme-minima). Check out the [example site](https://mivinci.github.io/hugo-theme-minima).
> The main branch is in development stage, UI or configuration may vary.
![screenshot](./images/tn.png) ![screenshot](./images/tn.png)
> Note that the main branch is in development stage, UI or configuration may vary.
## Features ## Features
- [x] Dark mode - [x] Dark mode
@ -43,27 +44,31 @@ git clone https://github.com/mivinci/hugo-theme-minima.git themes/minima
Follow [exampleSite/config.toml](https://github.com/Mivinci/hugo-theme-minima/blob/main/exampleSite/config.toml) and edit your own one. Follow [exampleSite/config.toml](https://github.com/Mivinci/hugo-theme-minima/blob/main/exampleSite/config.toml) and edit your own one.
### Supported Front Matters ## Supported Front Matters
| Field | Type | Explanation | | Attr | Type | Explanation |
|:----------- |:------ |:------------------------------------------------------ | |:----------- |:------ |:------------|
| title | string | Title of the post | | title | string | title |
| description | string | Description of the post | | description | string | description |
| date | string | Datetime when the post is written | | date | string | creation time |
| link | string | If set, the post will redirect to an external link | | categories | array | category list |
| categories | array | Array of categories the posts belongs to | | series | array | series list |
| series | array | Array of series the post belongs to | | tags | array | tag list |
| tags | array | Array of tags the posts is related to | | math | bool | enables math formulas rendering |
| math | bool | True if the post needs to render math formulas | | mermaid | bool | enables flowcharts rendering |
| mermaid | bool | True if the post needs to render mermaid diagrams | | comment | bool | enable comment plugin |
| comment | bool | True if the post allows people to make comments | | draft | bool | disallow being published |
| draft | bool | True if the post isn't already for publishing | | link | string | a URL to redirect to |
### Contribution ## Contribution
I'm currently looking for i18n contributors :) I'm currently looking for i18n contributors :)
### Feedback ## Feedback
Feedbacks are welcome [here](https://github.com/Mivinci/hugo-theme-minima/issues). Feedbacks are welcome [here](https://github.com/Mivinci/hugo-theme-minima/issues).
## License
Hugo Minima is MIT licensed.