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"
|
||||
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.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
title = "Arrrchetypes"
|
||||
weight = 10
|
||||
weight = 2
|
||||
+++
|
||||
{{< piratify >}}
|
|
@ -1,6 +1,6 @@
|
|||
+++
|
||||
title = "Multilingual and i18n"
|
||||
weight = 30
|
||||
weight = 7
|
||||
+++
|
||||
|
||||
The Relearn theme is fully compatible with Hugo multilingual mode.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
title = "Multilingual an' i18n"
|
||||
weight = 30
|
||||
weight = 7
|
||||
+++
|
||||
{{< piratify >}}
|
|
@ -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.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
title = "Ay'cons an' logos"
|
||||
weight = 27
|
||||
weight = 6
|
||||
+++
|
||||
{{< piratify >}}
|
|
@ -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.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
title = "Marrrkdown rules"
|
||||
weight = 15
|
||||
weight = 3
|
||||
+++
|
||||
{{< piratify >}}
|
|
@ -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.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
title = "Menu extrrra shorrrtcuts"
|
||||
weight = 25
|
||||
weight = 5
|
||||
+++
|
||||
{{< piratify >}}
|
|
@ -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.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
title = "Planks orrrganizat'n"
|
||||
weight = 5
|
||||
weight = 1
|
||||
+++
|
||||
{{< piratify >}}
|
|
@ -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.
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
+++
|
||||
title = "Code highlight'n"
|
||||
weight = 16
|
||||
weight = 4
|
||||
+++
|
||||
{{< piratify >}}
|
|
@ -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.
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
+++
|
||||
tags = ["documentat'n", "tutorrrial"]
|
||||
title = "Tags"
|
||||
weight = 40
|
||||
weight = 8
|
||||
+++
|
||||
{{< piratify >}}
|
|
@ -1,6 +1,7 @@
|
|||
+++
|
||||
archetype = "chapter"
|
||||
title = "Shortcodes"
|
||||
ordersectionsby = "title"
|
||||
weight = 3
|
||||
+++
|
||||
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
+++
|
||||
archetype = "chapter"
|
||||
title = "Shorrrtcodes"
|
||||
ordersectionsby = "title"
|
||||
weight = 3
|
||||
+++
|
||||
{{< piratify >}}
|
Loading…
Reference in a new issue