mirror of
https://github.com/carsonip/hugo-theme-minos
synced 2025-12-30 03:19:49 -08:00
Update readme about smart toc
This commit is contained in:
@@ -17,11 +17,11 @@ Minos is a Hugo theme ported from Hexo theme [Minos](https://github.com/ppoffice
|
|||||||
* Duoshuo comment
|
* Duoshuo comment
|
||||||
* Search box
|
* Search box
|
||||||
* Hierarchical categories (since this isn't supported in Hugo)
|
* Hierarchical categories (since this isn't supported in Hugo)
|
||||||
|
* Smart table of contents (will highlight and expand current section in TOC)
|
||||||
* Disqus
|
* Disqus
|
||||||
* Google Analytics
|
* Google Analytics
|
||||||
* [KaTeX](https://github.com/Khan/KaTeX)
|
* [KaTeX](https://github.com/Khan/KaTeX)
|
||||||
* Syntax highlighting using [highlight.js](https://github.com/isagalaev/highlight.js)
|
* Syntax highlighting using [highlight.js](https://github.com/isagalaev/highlight.js)
|
||||||
* no jQuery :)
|
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
|
|
||||||
@@ -40,6 +40,12 @@ theme = "hugo-theme-minos"
|
|||||||
|
|
||||||
## Options
|
## Options
|
||||||
|
|
||||||
|
### Smart TOC
|
||||||
|
```
|
||||||
|
[params]
|
||||||
|
smartToc = true
|
||||||
|
```
|
||||||
|
|
||||||
### Disqus
|
### Disqus
|
||||||
```
|
```
|
||||||
[params]
|
[params]
|
||||||
|
|||||||
Reference in New Issue
Block a user