mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-01-30 15:31:52 +00:00
docs: config.toml -> hugo.toml
This commit is contained in:
@@ -13,7 +13,7 @@ seriesOpened: true
|
||||
Blowfish provides a feature to group a set of articles together under a "series". Placing an article under a series will display the rest of the series articles in each single page and provide a quick way to navigate amongst them. You can see an example of this above.
|
||||
|
||||
## Create Taxonomy
|
||||
The first step to enable series is to create the `series` taxonomy. For doing this just add the `series` taxonomy to your taxonomy list in the `config.toml`.
|
||||
The first step to enable series is to create the `series` taxonomy. For doing this just add the `series` taxonomy to your taxonomy list in the `hugo.toml`.
|
||||
|
||||
```toml
|
||||
[taxonomies]
|
||||
@@ -33,4 +33,4 @@ series_order: 11
|
||||
```
|
||||
|
||||
## Series Behavior
|
||||
Marking an article as part of a series will automatically display the series module as you see in this page for example. You can choose whether that module starts opened or not using the `article.seriesOpened` global variable in `params.toml` or the front-matter parameter `seriesOpened` to specify an override at the article level.
|
||||
Marking an article as part of a series will automatically display the series module as you see in this page for example. You can choose whether that module starts opened or not using the `article.seriesOpened` global variable in `params.toml` or the front-matter parameter `seriesOpened` to specify an override at the article level.
|
||||
|
||||
@@ -13,7 +13,7 @@ seriesOpened: true
|
||||
Blowfish は、一連の記事を「シリーズ」でグループ化する機能を提供します。記事をシリーズの下に配置すると、残りのシリーズ記事が各ページに表示され、それらの間をすばやく移動できるようになります。この例は、上で確認できます。
|
||||
|
||||
## タクソノミーの作成
|
||||
シリーズを有効にするにはまず、`series` タクソノミーを作成してください。具体的には、`config.toml` のタクソノミーリストに `series` タクソノミーを追加するだけです。
|
||||
シリーズを有効にするにはまず、`series` タクソノミーを作成してください。具体的には、`hugo.toml` のタクソノミーリストに `series` タクソノミーを追加するだけです。
|
||||
|
||||
```toml
|
||||
[taxonomies]
|
||||
|
||||
@@ -13,7 +13,7 @@ seriesOpened: true
|
||||
Blowfish provides a feature to group a set of articles together under a "series". Placing an article under a series will display the rest of the series articles in each single page and provide a quick way to navigate amongst them. You can see an example of this above.
|
||||
|
||||
## Create Taxonomy
|
||||
The first step to enable series is to create the `series` taxonomy. For doing this just add the `series` taxonomy to your taxonomy list in the `config.toml`.
|
||||
The first step to enable series is to create the `series` taxonomy. For doing this just add the `series` taxonomy to your taxonomy list in the `hugo.toml`.
|
||||
|
||||
```toml
|
||||
[taxonomies]
|
||||
@@ -33,4 +33,4 @@ series_order: 11
|
||||
```
|
||||
|
||||
## Series Behavior
|
||||
Marking an article as part of a series will automatically display the series module as you see in this page for example. You can choose whether that module starts opened or not using the `article.seriesOpened` global variable in `params.toml` or the front-matter parameter `seriesOpened` to specify an override at the article level.
|
||||
Marking an article as part of a series will automatically display the series module as you see in this page for example. You can choose whether that module starts opened or not using the `article.seriesOpened` global variable in `params.toml` or the front-matter parameter `seriesOpened` to specify an override at the article level.
|
||||
|
||||
@@ -13,7 +13,7 @@ seriesOpened: true
|
||||
Blowfish 提供了将一组文章分组到“系列”下的功能。将文章放在系列下将在每个页面中显示该系列文章的其余部分,并在它们之间提供快速导航。您可以在上面看到一个例子。
|
||||
|
||||
## 创建分类
|
||||
启用系列的第一步是创建 `series` 分类法。为此,只需将 `series` 分类法添加到 `config.toml` 中的分类法列表中即可。
|
||||
启用系列的第一步是创建 `series` 分类法。为此,只需将 `series` 分类法添加到 `hugo.toml` 中的分类法列表中即可。
|
||||
|
||||
```toml
|
||||
[taxonomies]
|
||||
@@ -34,4 +34,4 @@ series_order: 11
|
||||
|
||||
## 系列的表现形式
|
||||
|
||||
将文章标记为系列的一部分将自动显示系列模块,例如您在下方看到的这样。您可以使用 `params.toml` 中的 `article.seriesOpened` 全局变量或参数 `seriesOpened` 来选择该模块是否开始打开,以指定文章级别的覆盖。
|
||||
将文章标记为系列的一部分将自动显示系列模块,例如您在下方看到的这样。您可以使用 `params.toml` 中的 `article.seriesOpened` 全局变量或参数 `seriesOpened` 来选择该模块是否开始打开,以指定文章级别的覆盖。
|
||||
|
||||
Reference in New Issue
Block a user