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:
@@ -73,7 +73,7 @@ In the example, which matches the markdown of the current page, both the default
|
||||
|
||||
To get lists of articles for each of your authors you can configure the `authors` taxonomy, which opens up some more configurations that might be interesting. This is an optional step in the process that is not required to display the authors in your articles.
|
||||
|
||||
First step is to configure the `authors` taxonomy in your `config.toml` file, like in the example below. Even though `tag` and `category` are defined by default with Hugo, once you add a specific taxonomies section you need to add them again otherwise the site will not process them.
|
||||
First step is to configure the `authors` taxonomy in your `hugo.toml` file, like in the example below. Even though `tag` and `category` are defined by default with Hugo, once you add a specific taxonomies section you need to add them again otherwise the site will not process them.
|
||||
|
||||
```toml
|
||||
[taxonomies]
|
||||
@@ -99,4 +99,4 @@ Nuno's awesome dummy bio.
|
||||
|
||||
This sample sample below shows an example where the default site author is turned off and the article has multiple authors.
|
||||
|
||||
{{< article link="/samples/multiple-authors/" >}}
|
||||
{{< article link="/samples/multiple-authors/" >}}
|
||||
|
||||
@@ -71,7 +71,7 @@ showAuthorsBadges : false
|
||||
|
||||
著者ごとに記事のリストを取得するには、`authors` タクソノミーを設定できます。これにより、さらに興味深い設定がいくつか可能になります。これは、記事に著者を表示するために必要なプロセスではオプションのステップです。
|
||||
|
||||
最初のステップは、以下の例のように、`config.toml` ファイルで `authors` タクソノミーを設定することです。`tag` と `category` はデフォルトで Hugo で定義されていますが、一度特定のタクソノミーセクションを追加したら、再度追加する必要があります。そうしないと、サイトはそれらを処理しません。
|
||||
最初のステップは、以下の例のように、`hugo.toml` ファイルで `authors` タクソノミーを設定することです。`tag` と `category` はデフォルトで Hugo で定義されていますが、一度特定のタクソノミーセクションを追加したら、再度追加する必要があります。そうしないと、サイトはそれらを処理しません。
|
||||
|
||||
```toml
|
||||
[taxonomies]
|
||||
|
||||
@@ -73,7 +73,7 @@ In the example, which matches the markdown of the current page, both the default
|
||||
|
||||
To get lists of articles for each of your authors you can configure the `authors` taxonomy, which opens up some more configurations that might be interesting. This is an optional step in the process that is not required to display the authors in your articles.
|
||||
|
||||
First step is to configure the `authors` taxonomy in your `config.toml` file, like in the example below. Even though `tag` and `category` are defined by default with Hugo, once you add a specific taxonomies section you need to add them again otherwise the site will not process them.
|
||||
First step is to configure the `authors` taxonomy in your `hugo.toml` file, like in the example below. Even though `tag` and `category` are defined by default with Hugo, once you add a specific taxonomies section you need to add them again otherwise the site will not process them.
|
||||
|
||||
```toml
|
||||
[taxonomies]
|
||||
@@ -99,4 +99,4 @@ Nuno's awesome dummy bio.
|
||||
|
||||
This sample sample below shows an example where the default site author is turned off and the article has multiple authors.
|
||||
|
||||
{{< article link="/samples/multiple-authors/" >}}
|
||||
{{< article link="/samples/multiple-authors/" >}}
|
||||
|
||||
@@ -71,7 +71,7 @@ showAuthorsBadges : false
|
||||
如果你想要获取每个作者的文章列表,需要配置 `authors` 分类,这会让你了解到一些更有趣的配置。这个是多创作者模式中的一个可选步骤。
|
||||
To get lists of articles for each of your authors you can configure the `authors` taxonomy, which opens up some more configurations that might be interesting. This is an optional step in the process that is not required to display the authors in your articles.
|
||||
|
||||
第一步是在 `config.toml` 文件中配置 `authors` 分类法,如下所示。尽管 `tag` 和 `category` 默认是 Hugo 定义的,但只要你添加了一个特定的分类法,就需要显式添加 `tag` 和 `category`,否则基于 Hugo 的文件加载顺序,站点将不会处理 `tag` 和 `category`。
|
||||
第一步是在 `hugo.toml` 文件中配置 `authors` 分类法,如下所示。尽管 `tag` 和 `category` 默认是 Hugo 定义的,但只要你添加了一个特定的分类法,就需要显式添加 `tag` 和 `category`,否则基于 Hugo 的文件加载顺序,站点将不会处理 `tag` 和 `category`。
|
||||
|
||||
```toml
|
||||
[taxonomies]
|
||||
@@ -97,4 +97,4 @@ Nuno's awesome dummy bio.
|
||||
|
||||
下面这个示例,介绍了演示了如何关闭站点默认创作者,并在文章中添加多创作者。
|
||||
|
||||
{{< article link="/samples/multiple-authors/" >}}
|
||||
{{< article link="/samples/multiple-authors/" >}}
|
||||
|
||||
Reference in New Issue
Block a user