From b663658657056f8100a8b6c65db49753b6364615 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Fri, 5 Aug 2022 23:53:30 +0200 Subject: [PATCH] docs: fix ordering of pages #320 --- exampleSite/content/cont/archetypes/_index.en.md | 2 +- exampleSite/content/cont/archetypes/_index.pir.md | 2 +- exampleSite/content/cont/i18n/_index.en.md | 2 +- exampleSite/content/cont/i18n/_index.pir.md | 2 +- exampleSite/content/cont/icons.en.md | 2 +- exampleSite/content/cont/icons.pir.md | 2 +- exampleSite/content/cont/markdown.en.md | 2 +- exampleSite/content/cont/markdown.pir.md | 2 +- exampleSite/content/cont/menushortcuts.en.md | 2 +- exampleSite/content/cont/menushortcuts.pir.md | 2 +- exampleSite/content/cont/pages/_index.en.md | 2 +- exampleSite/content/cont/pages/_index.pir.md | 2 +- exampleSite/content/cont/syntaxhighlight.en.md | 2 +- exampleSite/content/cont/syntaxhighlight.pir.md | 2 +- exampleSite/content/cont/tags.en.md | 2 +- exampleSite/content/cont/tags.pir.md | 2 +- exampleSite/content/shortcodes/_index.en.md | 1 + exampleSite/content/shortcodes/_index.pir.md | 1 + 18 files changed, 18 insertions(+), 16 deletions(-) diff --git a/exampleSite/content/cont/archetypes/_index.en.md b/exampleSite/content/cont/archetypes/_index.en.md index ae3bb170f0..c05e5abfe2 100644 --- a/exampleSite/content/cont/archetypes/_index.en.md +++ b/exampleSite/content/cont/archetypes/_index.en.md @@ -1,6 +1,6 @@ +++ title = "Archetypes" -weight = 10 +weight = 2 +++ Using the command: `hugo new [relative new content path]`, you can start a content file with the date and title automatically set. While this is a welcome feature, active writers need more: [archetypes](https://gohugo.io/content/archetypes/). These are preconfigured skeleton pages with default frontmatter. diff --git a/exampleSite/content/cont/archetypes/_index.pir.md b/exampleSite/content/cont/archetypes/_index.pir.md index 26ef304a2f..04362f334c 100644 --- a/exampleSite/content/cont/archetypes/_index.pir.md +++ b/exampleSite/content/cont/archetypes/_index.pir.md @@ -1,5 +1,5 @@ +++ title = "Arrrchetypes" -weight = 10 +weight = 2 +++ {{< piratify >}} \ No newline at end of file diff --git a/exampleSite/content/cont/i18n/_index.en.md b/exampleSite/content/cont/i18n/_index.en.md index 18960daa78..01839cdd3f 100644 --- a/exampleSite/content/cont/i18n/_index.en.md +++ b/exampleSite/content/cont/i18n/_index.en.md @@ -1,6 +1,6 @@ +++ title = "Multilingual and i18n" -weight = 30 +weight = 7 +++ The Relearn theme is fully compatible with Hugo multilingual mode. diff --git a/exampleSite/content/cont/i18n/_index.pir.md b/exampleSite/content/cont/i18n/_index.pir.md index 9976e0817a..bc28edb2d8 100644 --- a/exampleSite/content/cont/i18n/_index.pir.md +++ b/exampleSite/content/cont/i18n/_index.pir.md @@ -1,5 +1,5 @@ +++ title = "Multilingual an' i18n" -weight = 30 +weight = 7 +++ {{< piratify >}} \ No newline at end of file diff --git a/exampleSite/content/cont/icons.en.md b/exampleSite/content/cont/icons.en.md index ee73aedf5c..e034f3adf8 100644 --- a/exampleSite/content/cont/icons.en.md +++ b/exampleSite/content/cont/icons.en.md @@ -1,6 +1,6 @@ +++ title = "Icons and logos" -weight = 27 +weight = 6 +++ The Relearn theme for Hugo loads the [**Font Awesome**](https://fontawesome.com) library, allowing you to easily display any icon or logo available in the Font Awesome free collection. diff --git a/exampleSite/content/cont/icons.pir.md b/exampleSite/content/cont/icons.pir.md index dc6dadafe2..6d4335674e 100644 --- a/exampleSite/content/cont/icons.pir.md +++ b/exampleSite/content/cont/icons.pir.md @@ -1,5 +1,5 @@ +++ title = "Ay'cons an' logos" -weight = 27 +weight = 6 +++ {{< piratify >}} \ No newline at end of file diff --git a/exampleSite/content/cont/markdown.en.md b/exampleSite/content/cont/markdown.en.md index b2485902d5..7208610ac0 100644 --- a/exampleSite/content/cont/markdown.en.md +++ b/exampleSite/content/cont/markdown.en.md @@ -1,6 +1,6 @@ +++ title = "Markdown syntax" -weight = 15 +weight = 3 +++ Let's face it: Writing content for the Web is tiresome. WYSIWYG editors help alleviate this task, but they generally result in horrible code, or worse yet, ugly web pages. diff --git a/exampleSite/content/cont/markdown.pir.md b/exampleSite/content/cont/markdown.pir.md index 64e826dd68..a250605408 100644 --- a/exampleSite/content/cont/markdown.pir.md +++ b/exampleSite/content/cont/markdown.pir.md @@ -1,5 +1,5 @@ +++ title = "Marrrkdown rules" -weight = 15 +weight = 3 +++ {{< piratify >}} \ No newline at end of file diff --git a/exampleSite/content/cont/menushortcuts.en.md b/exampleSite/content/cont/menushortcuts.en.md index 1fc75f9ce9..2ffdcf6bdd 100644 --- a/exampleSite/content/cont/menushortcuts.en.md +++ b/exampleSite/content/cont/menushortcuts.en.md @@ -1,6 +1,6 @@ +++ title = "Menu extra shortcuts" -weight = 25 +weight = 5 +++ You can define additional menu entries or shortcuts in the navigation menu without any link to content. diff --git a/exampleSite/content/cont/menushortcuts.pir.md b/exampleSite/content/cont/menushortcuts.pir.md index 0520e5cef6..a6fc245f92 100644 --- a/exampleSite/content/cont/menushortcuts.pir.md +++ b/exampleSite/content/cont/menushortcuts.pir.md @@ -1,5 +1,5 @@ +++ title = "Menu extrrra shorrrtcuts" -weight = 25 +weight = 5 +++ {{< piratify >}} \ No newline at end of file diff --git a/exampleSite/content/cont/pages/_index.en.md b/exampleSite/content/cont/pages/_index.en.md index d96dac8306..441cded136 100644 --- a/exampleSite/content/cont/pages/_index.en.md +++ b/exampleSite/content/cont/pages/_index.en.md @@ -1,6 +1,6 @@ +++ title = "Pages organization" -weight = 5 +weight = 1 +++ In **Hugo**, pages are the core of your site. Once it is configured, pages are definitely the added value to your documentation site. diff --git a/exampleSite/content/cont/pages/_index.pir.md b/exampleSite/content/cont/pages/_index.pir.md index 718ff7cb6e..13f446b5da 100644 --- a/exampleSite/content/cont/pages/_index.pir.md +++ b/exampleSite/content/cont/pages/_index.pir.md @@ -1,5 +1,5 @@ +++ title = "Planks orrrganizat'n" -weight = 5 +weight = 1 +++ {{< piratify >}} \ No newline at end of file diff --git a/exampleSite/content/cont/syntaxhighlight.en.md b/exampleSite/content/cont/syntaxhighlight.en.md index 50d741d3bc..d4b23b24fb 100644 --- a/exampleSite/content/cont/syntaxhighlight.en.md +++ b/exampleSite/content/cont/syntaxhighlight.en.md @@ -1,6 +1,6 @@ +++ title = "Code highlighting" -weight = 16 +weight = 4 +++ The Relearn theme uses [Hugo's built-in syntax highlighting](https://gohugo.io/content-management/syntax-highlighting/) for code. diff --git a/exampleSite/content/cont/syntaxhighlight.pir.md b/exampleSite/content/cont/syntaxhighlight.pir.md index 8abebf9dea..5478912939 100644 --- a/exampleSite/content/cont/syntaxhighlight.pir.md +++ b/exampleSite/content/cont/syntaxhighlight.pir.md @@ -1,5 +1,5 @@ +++ title = "Code highlight'n" -weight = 16 +weight = 4 +++ {{< piratify >}} \ No newline at end of file diff --git a/exampleSite/content/cont/tags.en.md b/exampleSite/content/cont/tags.en.md index 2df22e539c..cd23a90764 100644 --- a/exampleSite/content/cont/tags.en.md +++ b/exampleSite/content/cont/tags.en.md @@ -1,7 +1,7 @@ +++ tags = ["documentation", "tutorial"] title = "Tags" -weight = 40 +weight = 8 +++ The Relearn theme supports one default taxonomy of Hugo: the *tag* feature. diff --git a/exampleSite/content/cont/tags.pir.md b/exampleSite/content/cont/tags.pir.md index 20a7ee01fd..4039ca8b8c 100644 --- a/exampleSite/content/cont/tags.pir.md +++ b/exampleSite/content/cont/tags.pir.md @@ -1,6 +1,6 @@ +++ tags = ["documentat'n", "tutorrrial"] title = "Tags" -weight = 40 +weight = 8 +++ {{< piratify >}} \ No newline at end of file diff --git a/exampleSite/content/shortcodes/_index.en.md b/exampleSite/content/shortcodes/_index.en.md index c394bd4553..43583410d5 100644 --- a/exampleSite/content/shortcodes/_index.en.md +++ b/exampleSite/content/shortcodes/_index.en.md @@ -1,6 +1,7 @@ +++ archetype = "chapter" title = "Shortcodes" +ordersectionsby = "title" weight = 3 +++ diff --git a/exampleSite/content/shortcodes/_index.pir.md b/exampleSite/content/shortcodes/_index.pir.md index 5f0312ed6a..b06e4fce0a 100644 --- a/exampleSite/content/shortcodes/_index.pir.md +++ b/exampleSite/content/shortcodes/_index.pir.md @@ -1,6 +1,7 @@ +++ archetype = "chapter" title = "Shorrrtcodes" +ordersectionsby = "title" weight = 3 +++ {{< piratify >}} \ No newline at end of file