Skip to content

Commit

Permalink
Merge pull request #1828 from das-g/params.author
Browse files Browse the repository at this point in the history
📝 change [author] to [params.author] also in "Basic configuration" docs
  • Loading branch information
nunocoracao authored Nov 8, 2024
2 parents 78c3b58 + 020f03e commit c2e76d7
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 8 deletions.
4 changes: 2 additions & 2 deletions exampleSite/content/docs/getting-started/index.it.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Tieni presente che il codice della lingua nel nome del file di configurazione de

title = "My awesome website"

[author]
[params.author]
name = "My name"
image = "img/author.jpg"
headline = "A generally awesome human"
Expand All @@ -60,7 +60,7 @@ links = [
{ twitter = "https://twitter.com/username" }
]
```
La configurazione `[author]` determina il modo in cui le informazioni sull'autore vengono visualizzate sul sito web. L'immagine deve essere posizionata nella cartella `assets/`. I link verranno visualizzati nell'ordine in cui sono elencati.
La configurazione `[params.author]` determina il modo in cui le informazioni sull'autore vengono visualizzate sul sito web. L'immagine deve essere posizionata nella cartella `assets/`. I link verranno visualizzati nell'ordine in cui sono elencati.

Se hai bisogno di ulteriori dettagli, ulteriori informazioni su ciascuna di queste opzioni di configurazione sono trattate nella sezione [Configurazione]({{< ref "configuration" >}}).

Expand Down
4 changes: 2 additions & 2 deletions exampleSite/content/docs/getting-started/index.ja.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Note that the language code in the language config filename should match the `la

title = "My awesome website"

[author]
[params.author]
name = "My name"
image = "img/author.jpg"
headline = "A generally awesome human"
Expand All @@ -58,7 +58,7 @@ links = [
]
```

The `[author]` configuration determines how the author information is displayed on the website. The image should be placed in the site's `assets/` folder. Links will be displayed in the order they are listed.
The `[params.author]` configuration determines how the author information is displayed on the website. The image should be placed in the site's `assets/` folder. Links will be displayed in the order they are listed.

If you need extra detail, further information about each of these configuration options, is covered in the [Configuration]({{< ref "configuration" >}}) section.

Expand Down
4 changes: 2 additions & 2 deletions exampleSite/content/docs/getting-started/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ Note that the language code in the language config filename should match the `la

title = "My awesome website"

[author]
[params.author]
name = "My name"
image = "img/author.jpg"
headline = "A generally awesome human"
Expand All @@ -58,7 +58,7 @@ links = [
]
```

The `[author]` configuration determines how the author information is displayed on the website. The image should be placed in the site's `assets/` folder. Links will be displayed in the order they are listed.
The `[params.author]` configuration determines how the author information is displayed on the website. The image should be placed in the site's `assets/` folder. Links will be displayed in the order they are listed.

If you need extra detail, further information about each of these configuration options, is covered in the [Configuration]({{< ref "configuration" >}}) section.

Expand Down
4 changes: 2 additions & 2 deletions exampleSite/content/docs/getting-started/index.zh-cn.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ languageCode = "en"

title = "My awesome website"

[author]
[params.author]
name = "My name"
image = "img/author.jpg"
headline = "A generally awesome human"
Expand All @@ -58,7 +58,7 @@ links = [
]
```

`[author]` 属性决定了作者信息的展示方式。 作者的图片信息应该放在 `assets/` 文件夹中。作者相关的链接将会按照排列顺序依次展示。
`[params.author]` 属性决定了作者信息的展示方式。 作者的图片信息应该放在 `assets/` 文件夹中。作者相关的链接将会按照排列顺序依次展示。

如果你还需要额外属性,在配置部分会有详细说明。

Expand Down

0 comments on commit c2e76d7

Please sign in to comment.