mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-27 01:33:04 +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"
|
||||
weight = 30
|
||||
|
||||
[Languages.en-pir]
|
||||
[Languages.pir]
|
||||
title = "Documentat'n fer Cap'n Hugo Relearrrn Theme"
|
||||
weight = 1
|
||||
languageName = "Arrr! Pirrrates"
|
||||
landingPageURL = "/en-pir"
|
||||
landingPageURL = "/pir"
|
||||
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"
|
||||
identifier = "ds"
|
||||
url = "https://github.com/McShelby/hugo-theme-relearn"
|
||||
weight = 10
|
||||
|
||||
[[Languages.en-pir.menu.shortcuts]]
|
||||
[[Languages.pir.menu.shortcuts]]
|
||||
name = "<i class='fas fa-fw fa-camera'></i> Showcases"
|
||||
url = "showcase"
|
||||
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"
|
||||
identifier = "hugodoc"
|
||||
url = "https://gohugo.io/"
|
||||
weight = 20
|
||||
|
||||
[[Languages.en-pir.menu.shortcuts]]
|
||||
[[Languages.pir.menu.shortcuts]]
|
||||
name = "<i class='fas fa-fw fa-bullhorn'></i> Crrredits"
|
||||
url = "/credits"
|
||||
weight = 30
|
||||
|
|
|
@ -97,9 +97,9 @@ appearance, you will have to configure two parameters for the defined languages:
|
|||
landingPageURL = "/en"
|
||||
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"
|
||||
...
|
||||
```
|
||||
|
|
|
@ -29,7 +29,7 @@ title = "Documentation for Hugo Relearn Theme"
|
|||
weight = 1
|
||||
languageName = "English"
|
||||
|
||||
[Languages.en-pir]
|
||||
[Languages.pir]
|
||||
title = "Documentat'n fer Cap'n Hugo Relearrrn Theme"
|
||||
weight = 2
|
||||
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:
|
||||
- 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:
|
||||
- in English: `_index.md`
|
||||
- in Piratized English: `_index.en-pir.md`
|
||||
- in Piratized English: `_index.pir.md`
|
||||
|
||||
{{% notice info %}}
|
||||
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"
|
||||
weight = 30
|
||||
|
||||
[Languages.en-pir]
|
||||
[Languages.pir]
|
||||
title = "Documentat'n fer Cap'n Hugo Relearrrn Theme"
|
||||
weight = 2
|
||||
languageName = "Arrr! Pirrrates"
|
||||
|
||||
[[Languages.en-pir.menu.shortcuts]]
|
||||
[[Languages.pir.menu.shortcuts]]
|
||||
name = "<i class='fab fa-github'></i> GitHub repo"
|
||||
identifier = "ds"
|
||||
url = "https://github.com/McShelby/hugo-theme-relearn"
|
||||
weight = 10
|
||||
|
||||
[[Languages.en-pir.menu.shortcuts]]
|
||||
[[Languages.pir.menu.shortcuts]]
|
||||
name = "<i class='fas fa-camera'></i> Showcases"
|
||||
url = "/showcase"
|
||||
weight = 11
|
||||
|
||||
[[Languages.en-pir.menu.shortcuts]]
|
||||
[[Languages.pir.menu.shortcuts]]
|
||||
name = "<i class='fas fa-bookmark'></i> Cap'n Hugo Documentat'n"
|
||||
identifier = "hugodoc"
|
||||
url = "https://gohugo.io/"
|
||||
weight = 20
|
||||
|
||||
[[Languages.en-pir.menu.shortcuts]]
|
||||
[[Languages.pir.menu.shortcuts]]
|
||||
name = "<i class='fas fa-bullhorn'></i> Crrredits"
|
||||
url = "/credits"
|
||||
weight = 30
|
||||
|
|
Loading…
Reference in a new issue