mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-23 07:47:54 +00:00
docs: fix ordering of pages #320
This commit is contained in:
parent
3c9ff888cb
commit
b663658657
18 changed files with 18 additions and 16 deletions
|
@ -1,6 +1,6 @@
|
||||||
+++
|
+++
|
||||||
title = "Archetypes"
|
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.
|
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.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
+++
|
+++
|
||||||
title = "Arrrchetypes"
|
title = "Arrrchetypes"
|
||||||
weight = 10
|
weight = 2
|
||||||
+++
|
+++
|
||||||
{{< piratify >}}
|
{{< piratify >}}
|
|
@ -1,6 +1,6 @@
|
||||||
+++
|
+++
|
||||||
title = "Multilingual and i18n"
|
title = "Multilingual and i18n"
|
||||||
weight = 30
|
weight = 7
|
||||||
+++
|
+++
|
||||||
|
|
||||||
The Relearn theme is fully compatible with Hugo multilingual mode.
|
The Relearn theme is fully compatible with Hugo multilingual mode.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
+++
|
+++
|
||||||
title = "Multilingual an' i18n"
|
title = "Multilingual an' i18n"
|
||||||
weight = 30
|
weight = 7
|
||||||
+++
|
+++
|
||||||
{{< piratify >}}
|
{{< piratify >}}
|
|
@ -1,6 +1,6 @@
|
||||||
+++
|
+++
|
||||||
title = "Icons and logos"
|
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.
|
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.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
+++
|
+++
|
||||||
title = "Ay'cons an' logos"
|
title = "Ay'cons an' logos"
|
||||||
weight = 27
|
weight = 6
|
||||||
+++
|
+++
|
||||||
{{< piratify >}}
|
{{< piratify >}}
|
|
@ -1,6 +1,6 @@
|
||||||
+++
|
+++
|
||||||
title = "Markdown syntax"
|
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.
|
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.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
+++
|
+++
|
||||||
title = "Marrrkdown rules"
|
title = "Marrrkdown rules"
|
||||||
weight = 15
|
weight = 3
|
||||||
+++
|
+++
|
||||||
{{< piratify >}}
|
{{< piratify >}}
|
|
@ -1,6 +1,6 @@
|
||||||
+++
|
+++
|
||||||
title = "Menu extra shortcuts"
|
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.
|
You can define additional menu entries or shortcuts in the navigation menu without any link to content.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
+++
|
+++
|
||||||
title = "Menu extrrra shorrrtcuts"
|
title = "Menu extrrra shorrrtcuts"
|
||||||
weight = 25
|
weight = 5
|
||||||
+++
|
+++
|
||||||
{{< piratify >}}
|
{{< piratify >}}
|
|
@ -1,6 +1,6 @@
|
||||||
+++
|
+++
|
||||||
title = "Pages organization"
|
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.
|
In **Hugo**, pages are the core of your site. Once it is configured, pages are definitely the added value to your documentation site.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
+++
|
+++
|
||||||
title = "Planks orrrganizat'n"
|
title = "Planks orrrganizat'n"
|
||||||
weight = 5
|
weight = 1
|
||||||
+++
|
+++
|
||||||
{{< piratify >}}
|
{{< piratify >}}
|
|
@ -1,6 +1,6 @@
|
||||||
+++
|
+++
|
||||||
title = "Code highlighting"
|
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.
|
The Relearn theme uses [Hugo's built-in syntax highlighting](https://gohugo.io/content-management/syntax-highlighting/) for code.
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
+++
|
+++
|
||||||
title = "Code highlight'n"
|
title = "Code highlight'n"
|
||||||
weight = 16
|
weight = 4
|
||||||
+++
|
+++
|
||||||
{{< piratify >}}
|
{{< piratify >}}
|
|
@ -1,7 +1,7 @@
|
||||||
+++
|
+++
|
||||||
tags = ["documentation", "tutorial"]
|
tags = ["documentation", "tutorial"]
|
||||||
title = "Tags"
|
title = "Tags"
|
||||||
weight = 40
|
weight = 8
|
||||||
+++
|
+++
|
||||||
|
|
||||||
The Relearn theme supports one default taxonomy of Hugo: the *tag* feature.
|
The Relearn theme supports one default taxonomy of Hugo: the *tag* feature.
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
+++
|
+++
|
||||||
tags = ["documentat'n", "tutorrrial"]
|
tags = ["documentat'n", "tutorrrial"]
|
||||||
title = "Tags"
|
title = "Tags"
|
||||||
weight = 40
|
weight = 8
|
||||||
+++
|
+++
|
||||||
{{< piratify >}}
|
{{< piratify >}}
|
|
@ -1,6 +1,7 @@
|
||||||
+++
|
+++
|
||||||
archetype = "chapter"
|
archetype = "chapter"
|
||||||
title = "Shortcodes"
|
title = "Shortcodes"
|
||||||
|
ordersectionsby = "title"
|
||||||
weight = 3
|
weight = 3
|
||||||
+++
|
+++
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
+++
|
+++
|
||||||
archetype = "chapter"
|
archetype = "chapter"
|
||||||
title = "Shorrrtcodes"
|
title = "Shorrrtcodes"
|
||||||
|
ordersectionsby = "title"
|
||||||
weight = 3
|
weight = 3
|
||||||
+++
|
+++
|
||||||
{{< piratify >}}
|
{{< piratify >}}
|
Loading…
Reference in a new issue