Skip to content

Commit

Permalink
docs: fix ordering of pages matcornic#320
Browse files Browse the repository at this point in the history
  • Loading branch information
McShelby committed Aug 5, 2022
1 parent 3c9ff88 commit b663658
Show file tree
Hide file tree
Showing 18 changed files with 18 additions and 16 deletions.
2 changes: 1 addition & 1 deletion exampleSite/content/cont/archetypes/_index.en.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion exampleSite/content/cont/archetypes/_index.pir.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
title = "Arrrchetypes"
weight = 10
weight = 2
+++
{{< piratify >}}
2 changes: 1 addition & 1 deletion exampleSite/content/cont/i18n/_index.en.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
title = "Multilingual and i18n"
weight = 30
weight = 7
+++

The Relearn theme is fully compatible with Hugo multilingual mode.
Expand Down
2 changes: 1 addition & 1 deletion exampleSite/content/cont/i18n/_index.pir.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
title = "Multilingual an' i18n"
weight = 30
weight = 7
+++
{{< piratify >}}
2 changes: 1 addition & 1 deletion exampleSite/content/cont/icons.en.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion exampleSite/content/cont/icons.pir.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
title = "Ay'cons an' logos"
weight = 27
weight = 6
+++
{{< piratify >}}
2 changes: 1 addition & 1 deletion exampleSite/content/cont/markdown.en.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion exampleSite/content/cont/markdown.pir.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
title = "Marrrkdown rules"
weight = 15
weight = 3
+++
{{< piratify >}}
2 changes: 1 addition & 1 deletion exampleSite/content/cont/menushortcuts.en.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion exampleSite/content/cont/menushortcuts.pir.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
title = "Menu extrrra shorrrtcuts"
weight = 25
weight = 5
+++
{{< piratify >}}
2 changes: 1 addition & 1 deletion exampleSite/content/cont/pages/_index.en.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion exampleSite/content/cont/pages/_index.pir.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
title = "Planks orrrganizat'n"
weight = 5
weight = 1
+++
{{< piratify >}}
2 changes: 1 addition & 1 deletion exampleSite/content/cont/syntaxhighlight.en.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion exampleSite/content/cont/syntaxhighlight.pir.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
+++
title = "Code highlight'n"
weight = 16
weight = 4
+++
{{< piratify >}}
2 changes: 1 addition & 1 deletion exampleSite/content/cont/tags.en.md
Original file line number Diff line number Diff line change
@@ -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.
Expand Down
2 changes: 1 addition & 1 deletion exampleSite/content/cont/tags.pir.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
+++
tags = ["documentat'n", "tutorrrial"]
title = "Tags"
weight = 40
weight = 8
+++
{{< piratify >}}
1 change: 1 addition & 0 deletions exampleSite/content/shortcodes/_index.en.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
+++
archetype = "chapter"
title = "Shortcodes"
ordersectionsby = "title"
weight = 3
+++

Expand Down
1 change: 1 addition & 0 deletions exampleSite/content/shortcodes/_index.pir.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
+++
archetype = "chapter"
title = "Shorrrtcodes"
ordersectionsby = "title"
weight = 3
+++
{{< piratify >}}

0 comments on commit b663658

Please sign in to comment.