mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2025-08-28 00:54:53 +00:00
theme: use Hugo's default sort order if no ordersectionsby was set #1092
This commit is contained in:
parent
0b83617ee9
commit
fc2bc9c4c1
5 changed files with 13 additions and 9 deletions
docs/content/introduction/releasenotes/8
|
@ -24,3 +24,9 @@ weight = -8
|
|||
- call `dependencies.gotmpl` from your own templates. The theme will now generate a warning. Call `dependencies.html` instead.
|
||||
- use [page designs](configuration/customization/designs). The underlying content views aren't allowed to be stored in subdirectories anymore. You have to [move them](configuration/customization/designs#migration-from-relearn-7) up one level.
|
||||
- use [self-defined output formats](configuration/customization/outputformats#migration-from-relearn-7).
|
||||
|
||||
### Change
|
||||
|
||||
- {{% badge style="note" title=" " %}}Change{{% /badge %}} For the [`children` shortcode](shortcodes/children#parameter) the final default value if parameter `sort=auto` and no `ordersectionsby` setting was found has changed from `weight` to `default`.
|
||||
|
||||
If your weights are all correctly set you will not recognize a difference. If you have duplicate weights on a level or have not set weights at all while sorting should happen by weight, this change will lead to a deterministic order while previously it didn't.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue