README
This commit is contained in:
parent
d4d30a0c35
commit
33083ec377
4 changed files with 12 additions and 12 deletions
|
@ -8,12 +8,13 @@ A Clean and minimal Hugo theme porting from the [Hexo Minima](https://github.com
|
||||||
|
|
||||||
## Features
|
## Features
|
||||||
|
|
||||||
|
- [x] Clean
|
||||||
- [x] Light/dark mode
|
- [x] Light/dark mode
|
||||||
- [x] VSCode-style code hightlighting
|
- [x] VSCode-style code hightlighting (the most alike among all Hugo themes)
|
||||||
- [x] KaTeX
|
- [x] KaTeX
|
||||||
- [x] Mermaid
|
- [x] Mermaid diagrams
|
||||||
- [x] Google analytics
|
- [x] Google analytics
|
||||||
- [x] Disqus/Utterances comments
|
- [x] Disqus/Utterances
|
||||||
- [x] Optional ToC
|
- [x] Optional ToC
|
||||||
|
|
||||||
## Usage
|
## Usage
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
baseURL = "http://h.xjj.pub"
|
baseURL = "http://h.xjj.pub"
|
||||||
languageCode = "en-us"
|
languageCode = "en-us"
|
||||||
title = "Hi Folks"
|
title = "Hi Folks"
|
||||||
copyright = "© XJJ 2021"
|
copyright = "© XJJ 2022"
|
||||||
googleAnalytics = ""
|
googleAnalytics = ""
|
||||||
|
|
||||||
# paginate decides the number of the newest posts
|
# paginate decides the number of the newest posts
|
||||||
|
@ -17,7 +17,7 @@ theme = "hugo-theme-minima"
|
||||||
[author]
|
[author]
|
||||||
name = "XJJ"
|
name = "XJJ"
|
||||||
slogon = "A tech lover from Earth 🌍"
|
slogon = "A tech lover from Earth 🌍"
|
||||||
description = "This is Minima, a clean and minimal Hugo theme porting from the [Hexo Minima](https://github.com/adisaktijrs/hexo-theme-minima). Except for everything from Hexo Minima like dark/light mode, it supports KaTeX, Mermaid, comments and some taxonomies like categories, series and tags. I created this using SCSS, Vanilla JS and the most important, Hugo. 😁"
|
description = "This is Minima, a clean and minimal Hugo theme porting from the [Hexo Minima](https://github.com/adisaktijrs/hexo-theme-minima). Except for everything from Hexo Minima like dark/light mode, Hugo Minima supports KaTeX, Mermaid, comments and some taxonomies like categories, series and tags. I created this using SASS, VanillaJS and the most importantly, Hugo. 😁"
|
||||||
|
|
||||||
|
|
||||||
[params]
|
[params]
|
||||||
|
@ -63,8 +63,8 @@ issueTerm = "pathname"
|
||||||
# **deprecated**
|
# **deprecated**
|
||||||
# OvO is a comment plugin written by the author of Minima.
|
# OvO is a comment plugin written by the author of Minima.
|
||||||
# It is enabled when params.comment is set "ovo". You can
|
# It is enabled when params.comment is set "ovo". You can
|
||||||
# find its documentation on https://github.com/ovojs/ovo.
|
# have a live view on https://ovo.js.org. If you are using
|
||||||
# If you are using disqus or utterance, just ignore this field.
|
# disqus or utterance, just ignore this.
|
||||||
[params.ovo]
|
[params.ovo]
|
||||||
server = ""
|
server = ""
|
||||||
placeholder = ""
|
placeholder = ""
|
||||||
|
@ -130,9 +130,8 @@ tag = "tags"
|
||||||
series = "series"
|
series = "series"
|
||||||
|
|
||||||
|
|
||||||
# Fields below makes sure all the codes in a post are
|
# Fields below make sure all the codes in a post are
|
||||||
# highlighted correctly, so better not edit them.
|
# highlighted correctly, so better not edit them.
|
||||||
[markup.highlight]
|
[markup.highlight]
|
||||||
lineNos = true
|
lineNos = true
|
||||||
noClasses = false
|
noClasses = false
|
||||||
|
|
||||||
|
|
|
@ -48,8 +48,8 @@ Follow [exampleSite/config.toml](https://github.com/Mivinci/hugo-theme-minima/bl
|
||||||
### Supported Front Matters
|
### Supported Front Matters
|
||||||
|
|
||||||
| Field | Type | Explanation |
|
| Field | Type | Explanation |
|
||||||
| ----------- | ------ | ------------------------------------------------------ |
|
|:----------- |:------ |:------------------------------------------------------ |
|
||||||
| title | string | Title of the post, will be rendered in a `h1` tag |
|
| title | string | Title of the post, <br> will be rendered in a `h1` tag |
|
||||||
| description | string | Description of the post, will be rendered in a `p` tag |
|
| description | string | Description of the post, will be rendered in a `p` tag |
|
||||||
| date | string | Datetime that the post is written |
|
| date | string | Datetime that the post is written |
|
||||||
| categories | array | Array of categories the posts belongs to |
|
| categories | array | Array of categories the posts belongs to |
|
||||||
|
|
BIN
images/tn.png
BIN
images/tn.png
Binary file not shown.
Before Width: | Height: | Size: 71 KiB After Width: | Height: | Size: 192 KiB |
Loading…
Reference in a new issue