From 1e8d064d647d28a1e8e988cd122d394a3f9b552d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Weber?= Date: Mon, 7 Oct 2024 00:10:16 +0200 Subject: [PATCH] docs: move images to content #567 --- README.md | 2 +- exampleSite/content/configuration/content/headings/index.en.md | 2 +- exampleSite/content/configuration/content/headings/index.pir.md | 2 +- exampleSite/content/configuration/content/hidden/_index.en.md | 2 +- exampleSite/content/configuration/content/hidden/_index.pir.md | 2 +- exampleSite/content/configuration/content/layouts/index.en.md | 2 +- exampleSite/content/configuration/content/layouts/index.pir.md | 2 +- .../content/{configuration => }/content/image/_index.en.md | 0 .../content/{configuration => }/content/image/_index.pir.md | 0 exampleSite/content/introduction/releasenotes/5/23.en.md | 2 +- layouts/partials/version.txt | 2 +- 11 files changed, 9 insertions(+), 9 deletions(-) rename exampleSite/content/{configuration => }/content/image/_index.en.md (100%) rename exampleSite/content/{configuration => }/content/image/_index.pir.md (100%) diff --git a/README.md b/README.md index 290abec376..d7fe7bbf0f 100644 --- a/README.md +++ b/README.md @@ -35,7 +35,7 @@ The Relearn theme is an enhanced fork of the popular [Learn theme](https://githu - [Configurable menu shortcuts](https://mcshelby.github.io/hugo-theme-relearn/configuration/sidebar/shortcutmenu/) - Support for hidden pages - [Comprehensive taxonomy support](https://mcshelby.github.io/hugo-theme-relearn/configuration/modifications/taxonomy) - - [Social media integration](https://mcshelby.github.io/hugo-theme-relearn/configuration/content/image/) + - [Social media integration](https://mcshelby.github.io/hugo-theme-relearn/content/image/) - **Multilingual Support** - [Full right-to-left (RTL) language support](https://mcshelby.github.io/hugo-theme-relearn/configuration/siteorganization/multilingual/) diff --git a/exampleSite/content/configuration/content/headings/index.en.md b/exampleSite/content/configuration/content/headings/index.en.md index f096c2f632..ee0b372d3d 100644 --- a/exampleSite/content/configuration/content/headings/index.en.md +++ b/exampleSite/content/configuration/content/headings/index.en.md @@ -2,7 +2,7 @@ description = "How to configure heading anchors" options = ["disableAnchorCopy", "disableAnchorScrolling"] title = "Headings" -weight = 3 +weight = 2 +++ Each heading may have an anchor link that is displayed when the heading is hovered. diff --git a/exampleSite/content/configuration/content/headings/index.pir.md b/exampleSite/content/configuration/content/headings/index.pir.md index 33fc04aed7..2fa2aee81c 100644 --- a/exampleSite/content/configuration/content/headings/index.pir.md +++ b/exampleSite/content/configuration/content/headings/index.pir.md @@ -1,6 +1,6 @@ +++ description = "How to configure heading anchors" title = "Headings" -weight = 3 +weight = 2 +++ {{< piratify >}} \ No newline at end of file diff --git a/exampleSite/content/configuration/content/hidden/_index.en.md b/exampleSite/content/configuration/content/hidden/_index.en.md index 239b8f6fa1..ec6b299cb4 100644 --- a/exampleSite/content/configuration/content/hidden/_index.en.md +++ b/exampleSite/content/configuration/content/hidden/_index.en.md @@ -3,7 +3,7 @@ description = "Learn about the hiddes pages feature" frontmatter = ["hidden"] options = ["disableSearchHiddenPages", "disableSeoHiddenPages", "disableTagHiddenPages"] title = "Hidden Pages" -weight = 5 +weight = 4 +++ The theme provides the concept of hidden pages. diff --git a/exampleSite/content/configuration/content/hidden/_index.pir.md b/exampleSite/content/configuration/content/hidden/_index.pir.md index 8b23863cb6..81bd4515c1 100644 --- a/exampleSite/content/configuration/content/hidden/_index.pir.md +++ b/exampleSite/content/configuration/content/hidden/_index.pir.md @@ -1,6 +1,6 @@ +++ description = "Learn about the hiddes pages feature" title = "Hidden Pages" -weight = 5 +weight = 4 +++ {{< piratify >}} \ No newline at end of file diff --git a/exampleSite/content/configuration/content/layouts/index.en.md b/exampleSite/content/configuration/content/layouts/index.en.md index 2549c55007..3f07055c6a 100644 --- a/exampleSite/content/configuration/content/layouts/index.en.md +++ b/exampleSite/content/configuration/content/layouts/index.en.md @@ -1,7 +1,7 @@ +++ description = "How to use and extend layouts" title = "Custom Layouts" -weight = 4 +weight = 3 +++ The Relearn theme provides a few layouts for you to use. Namely these are `home`, `chapter` and `default`. All are accessible as so called [archetypes](content/layouts) for an author of your site. diff --git a/exampleSite/content/configuration/content/layouts/index.pir.md b/exampleSite/content/configuration/content/layouts/index.pir.md index 757e156272..557b95f982 100644 --- a/exampleSite/content/configuration/content/layouts/index.pir.md +++ b/exampleSite/content/configuration/content/layouts/index.pir.md @@ -1,6 +1,6 @@ +++ description = "How to use and extend layouts" title = "Custom Layouts" -weight = 4 +weight = 3 +++ {{< piratify >}} \ No newline at end of file diff --git a/exampleSite/content/configuration/content/image/_index.en.md b/exampleSite/content/content/image/_index.en.md similarity index 100% rename from exampleSite/content/configuration/content/image/_index.en.md rename to exampleSite/content/content/image/_index.en.md diff --git a/exampleSite/content/configuration/content/image/_index.pir.md b/exampleSite/content/content/image/_index.pir.md similarity index 100% rename from exampleSite/content/configuration/content/image/_index.pir.md rename to exampleSite/content/content/image/_index.pir.md diff --git a/exampleSite/content/introduction/releasenotes/5/23.en.md b/exampleSite/content/introduction/releasenotes/5/23.en.md index 3f94f2b1ce..18e2d2ac3d 100644 --- a/exampleSite/content/introduction/releasenotes/5/23.en.md +++ b/exampleSite/content/introduction/releasenotes/5/23.en.md @@ -36,7 +36,7 @@ weight = -23 - {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} It is now possible to adjust the menu width for your whole site. [See the docs](configuration/sidebar/width/). -- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} This release adds social media meta tags for the Open Graph protocol and Twitter Cards to your site. [See the docs](configuration/content/image/). +- {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} This release adds social media meta tags for the Open Graph protocol and Twitter Cards to your site. [See the docs](content/image/). - {{% badge style="info" icon="plus-circle" title=" " %}}New{{% /badge %}} This release comes with additional sort options for the menu and the [`children` shortcode](shortcodes/children). Both will now accept the following values: `weight`, `title`, `linktitle`, `modifieddate`, `expirydate`, `publishdate`, `date`, `length` or `default` (adhering to Hugo's default sort order). diff --git a/layouts/partials/version.txt b/layouts/partials/version.txt index 29493f8f6d..f7e9b82cc9 100644 --- a/layouts/partials/version.txt +++ b/layouts/partials/version.txt @@ -1 +1 @@ -6.4.0+9cd17961fb55b218363258e59ebcfc7f0a115797 \ No newline at end of file +6.4.0+61ac26ac9bcc30b64832a5fd792386701a89bf9c \ No newline at end of file