Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejh/hugo-theme-cactus-plus.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'README-zh_CN.md')
-rw-r--r--README-zh_CN.md22
1 files changed, 15 insertions, 7 deletions
diff --git a/README-zh_CN.md b/README-zh_CN.md
index 34ff44a..11c74e0 100644
--- a/README-zh_CN.md
+++ b/README-zh_CN.md
@@ -135,17 +135,17 @@ hugo
## 3. 可选配置
-### 3.1 在某些页面禁用评论
+### 3.1 在某页面禁用评论
-要在某个页面禁用评论,你可以在页面 Front Matter 中指定 `enableComments = false`。
+要在某页面禁用评论,你可以在页面的 Front Matter 中将 `enableComments` 设置为 `false`。
例如:
-```
-+++
-title = "Some title"
-enableComments = false
-+++
+```yaml
+---
+title: Some title
+enableComments: false
+---
```
### 3.2 自定义 CSS 和 JS
@@ -164,6 +164,14 @@ customJS:
```
+### 3.3 数学排版
+
+该主题使用了 [KaTeX](https://katex.org/) 来支持数学符号拍版。
+
+- 全局支持数学排版:在项目的配置文件中将 `math` 设置为 `true`
+- 在某页面支持数学拍版:在某页面 Front Matter 中将 `math` 设置为 `true`
+
+
## License
[MIT](https://github.com/nodejh/hugo-theme-mini/blob/master/LICENSE.md) \ No newline at end of file