mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-30 11:13:06 +00:00
docs: rename english pirate translation to avoid crash on rendering #90
This commit is contained in:
parent
6e61a7e1e4
commit
02c72c9f31
49 changed files with 16 additions and 16 deletions
|
@ -65,31 +65,31 @@ relativeURLs = true
|
||||||
url = "/credits"
|
url = "/credits"
|
||||||
weight = 30
|
weight = 30
|
||||||
|
|
||||||
[Languages.en-pir]
|
[Languages.pir]
|
||||||
title = "Documentat'n fer Cap'n Hugo Relearrrn Theme"
|
title = "Documentat'n fer Cap'n Hugo Relearrrn Theme"
|
||||||
weight = 1
|
weight = 1
|
||||||
languageName = "Arrr! Pirrrates"
|
languageName = "Arrr! Pirrrates"
|
||||||
landingPageURL = "/en-pir"
|
landingPageURL = "/pir"
|
||||||
landingPageName = "<i class='fas fa-home'></i> Arrr! Home"
|
landingPageName = "<i class='fas fa-home'></i> Arrr! Home"
|
||||||
|
|
||||||
[[Languages.en-pir.menu.shortcuts]]
|
[[Languages.pir.menu.shortcuts]]
|
||||||
name = "<i class='fab fa-fw fa-github'></i> GitHub repo"
|
name = "<i class='fab fa-fw fa-github'></i> GitHub repo"
|
||||||
identifier = "ds"
|
identifier = "ds"
|
||||||
url = "https://github.com/McShelby/hugo-theme-relearn"
|
url = "https://github.com/McShelby/hugo-theme-relearn"
|
||||||
weight = 10
|
weight = 10
|
||||||
|
|
||||||
[[Languages.en-pir.menu.shortcuts]]
|
[[Languages.pir.menu.shortcuts]]
|
||||||
name = "<i class='fas fa-fw fa-camera'></i> Showcases"
|
name = "<i class='fas fa-fw fa-camera'></i> Showcases"
|
||||||
url = "showcase"
|
url = "showcase"
|
||||||
weight = 11
|
weight = 11
|
||||||
|
|
||||||
[[Languages.en-pir.menu.shortcuts]]
|
[[Languages.pir.menu.shortcuts]]
|
||||||
name = "<i class='fas fa-fw fa-bookmark'></i> Cap'n Hugo Documentat'n"
|
name = "<i class='fas fa-fw fa-bookmark'></i> Cap'n Hugo Documentat'n"
|
||||||
identifier = "hugodoc"
|
identifier = "hugodoc"
|
||||||
url = "https://gohugo.io/"
|
url = "https://gohugo.io/"
|
||||||
weight = 20
|
weight = 20
|
||||||
|
|
||||||
[[Languages.en-pir.menu.shortcuts]]
|
[[Languages.pir.menu.shortcuts]]
|
||||||
name = "<i class='fas fa-fw fa-bullhorn'></i> Crrredits"
|
name = "<i class='fas fa-fw fa-bullhorn'></i> Crrredits"
|
||||||
url = "/credits"
|
url = "/credits"
|
||||||
weight = 30
|
weight = 30
|
||||||
|
|
|
@ -97,9 +97,9 @@ appearance, you will have to configure two parameters for the defined languages:
|
||||||
landingPageURL = "/en"
|
landingPageURL = "/en"
|
||||||
landingPageName = "<i class='fas fa-home'></i> Home"
|
landingPageName = "<i class='fas fa-home'></i> Home"
|
||||||
...
|
...
|
||||||
[Lanugages.en-pir]
|
[Lanugages.pir]
|
||||||
...
|
...
|
||||||
landingPageURL = "/en-pir"
|
landingPageURL = "/pir"
|
||||||
landingPageName = "<i class='fas fa-home'></i> Arrr! Homme"
|
landingPageName = "<i class='fas fa-home'></i> Arrr! Homme"
|
||||||
...
|
...
|
||||||
```
|
```
|
||||||
|
|
|
@ -29,7 +29,7 @@ title = "Documentation for Hugo Relearn Theme"
|
||||||
weight = 1
|
weight = 1
|
||||||
languageName = "English"
|
languageName = "English"
|
||||||
|
|
||||||
[Languages.en-pir]
|
[Languages.pir]
|
||||||
title = "Documentat'n fer Cap'n Hugo Relearrrn Theme"
|
title = "Documentat'n fer Cap'n Hugo Relearrrn Theme"
|
||||||
weight = 2
|
weight = 2
|
||||||
languageName = "Arrr! Pirrrates"
|
languageName = "Arrr! Pirrrates"
|
||||||
|
@ -39,10 +39,10 @@ Then, for each new page, append the *id* of the language to the file.
|
||||||
|
|
||||||
- Single file `my-page.md` is split in two files:
|
- Single file `my-page.md` is split in two files:
|
||||||
- in English: `my-page.md`
|
- in English: `my-page.md`
|
||||||
- in Piratized English: `my-page.en-pir.md`
|
- in Piratized English: `my-page.pir.md`
|
||||||
- Single file `_index.md` is split in two files:
|
- Single file `_index.md` is split in two files:
|
||||||
- in English: `_index.md`
|
- in English: `_index.md`
|
||||||
- in Piratized English: `_index.en-pir.md`
|
- in Piratized English: `_index.pir.md`
|
||||||
|
|
||||||
{{% notice info %}}
|
{{% notice info %}}
|
||||||
Be aware that only translated pages are displayed in menu. It's not replaced with default language content.
|
Be aware that only translated pages are displayed in menu. It's not replaced with default language content.
|
||||||
|
|
|
@ -82,29 +82,29 @@ name = "<i class='fas fa-bullhorn'></i> Credits"
|
||||||
url = "/credits"
|
url = "/credits"
|
||||||
weight = 30
|
weight = 30
|
||||||
|
|
||||||
[Languages.en-pir]
|
[Languages.pir]
|
||||||
title = "Documentat'n fer Cap'n Hugo Relearrrn Theme"
|
title = "Documentat'n fer Cap'n Hugo Relearrrn Theme"
|
||||||
weight = 2
|
weight = 2
|
||||||
languageName = "Arrr! Pirrrates"
|
languageName = "Arrr! Pirrrates"
|
||||||
|
|
||||||
[[Languages.en-pir.menu.shortcuts]]
|
[[Languages.pir.menu.shortcuts]]
|
||||||
name = "<i class='fab fa-github'></i> GitHub repo"
|
name = "<i class='fab fa-github'></i> GitHub repo"
|
||||||
identifier = "ds"
|
identifier = "ds"
|
||||||
url = "https://github.com/McShelby/hugo-theme-relearn"
|
url = "https://github.com/McShelby/hugo-theme-relearn"
|
||||||
weight = 10
|
weight = 10
|
||||||
|
|
||||||
[[Languages.en-pir.menu.shortcuts]]
|
[[Languages.pir.menu.shortcuts]]
|
||||||
name = "<i class='fas fa-camera'></i> Showcases"
|
name = "<i class='fas fa-camera'></i> Showcases"
|
||||||
url = "/showcase"
|
url = "/showcase"
|
||||||
weight = 11
|
weight = 11
|
||||||
|
|
||||||
[[Languages.en-pir.menu.shortcuts]]
|
[[Languages.pir.menu.shortcuts]]
|
||||||
name = "<i class='fas fa-bookmark'></i> Cap'n Hugo Documentat'n"
|
name = "<i class='fas fa-bookmark'></i> Cap'n Hugo Documentat'n"
|
||||||
identifier = "hugodoc"
|
identifier = "hugodoc"
|
||||||
url = "https://gohugo.io/"
|
url = "https://gohugo.io/"
|
||||||
weight = 20
|
weight = 20
|
||||||
|
|
||||||
[[Languages.en-pir.menu.shortcuts]]
|
[[Languages.pir.menu.shortcuts]]
|
||||||
name = "<i class='fas fa-bullhorn'></i> Crrredits"
|
name = "<i class='fas fa-bullhorn'></i> Crrredits"
|
||||||
url = "/credits"
|
url = "/credits"
|
||||||
weight = 30
|
weight = 30
|
||||||
|
|
Loading…
Reference in a new issue