Skip to content

Commit

Permalink
Docs: fix typo
Browse files Browse the repository at this point in the history
  • Loading branch information
Lruihao committed Mar 26, 2024
1 parent efa6a1a commit f0b29d6
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 6 deletions.
Expand Up @@ -285,7 +285,7 @@ It is not recommended to include rich text block elements in the summary, which

## Templates {#templates}

Generally, you don't need to set the **type** parameter, because Hugo and fixit will help you choose. However, the **FixIt** theme provides some special templates for users to use.
Generally, you don't need to set the **type** or **layout** parameter, because Hugo and fixit will help you choose. However, the **FixIt** theme provides some special templates for users to use.

### Friends

Expand Down
Expand Up @@ -284,7 +284,7 @@ seo:

## 页面模板 {#templates}

一般情况,你不需要设置 **type** 参数,因为 **Hugo****FixIt** 会帮你选择。但是 **FixIt** 主题提供了一些特殊的模板给用户使用。
一般情况,你不需要设置 **type** **layout** 参数,因为 **Hugo****FixIt** 会帮你选择。但是 **FixIt** 主题提供了一些特殊的模板给用户使用。

### 友情链接

Expand Down
Expand Up @@ -24,8 +24,6 @@ collections:
- Getting Started
lightgallery: true
reward: true
toc:
auto: false
---

了解如何配置你的 Hugo **FixIt** 站点。
Expand Down Expand Up @@ -1475,7 +1473,7 @@ mDevtools
noClasses = false
```

## Custom output formats
## 自定义输出格式

Hugo 可以输出多种格式的内容,**FixIt** 主题利用了这个功能。为了完全配置主题,请将以下选项配置到 `hugo.toml` 中。

Expand Down
Expand Up @@ -164,7 +164,7 @@ hugo server -D --disableFastRender

![基本配置下的预览](simple-preview.png '基本配置下的预览')

当对新内容感到满意时,将前 front matter 中的 `draft` 值更改为 `false`,然后保存文件。
当对新内容感到满意时, front matter 中的 `draft` 值更改为 `false`,然后保存文件。

{{< admonition >}}
Hugo 的渲染引擎符合 Markdown 的 CommonMark [规范](https://spec.commonmark.org/)\
Expand Down

0 comments on commit f0b29d6

Please sign in to comment.