File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
docs/content/documentation Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,7 @@ to newest (at the bottom).
159
159
` reverse ` has no effect on ` page.later ` /` page.earlier ` or ` page.heavier ` /` page.lighter ` .
160
160
161
161
## Sorting subsections
162
- Sorting sections is a bit less flexible: sections are always sorted by ` weight ` ,
162
+ Sorting sections is a bit less flexible: sections can only be sorted by ` weight ` ,
163
163
and do not have variables that point to the heavier/lighter sections.
164
164
165
165
By default, the lightest (lowest ` weight ` ) subsections will be at
Original file line number Diff line number Diff line change @@ -80,7 +80,9 @@ path: String;
80
80
components : Array < String > ;
81
81
permalink : String ;
82
82
extra : HashMap < String , Any > ;
83
- // Pages directly in this section, sorted if asked
83
+ // Pages directly in this section. By default, the pages are not sorted. Please set the "sorted_by"
84
+ // variable in the _index.md file of the corresponding section to "date" or "weight" for sorting by
85
+ // date and weight, respectively.
84
86
pages : Array < Page > ;
85
87
// Direct subsections to this section, sorted by subsections weight
86
88
// This only contains the path to use in the `get_section` Tera function to get
You can’t perform that action at this time.
0 commit comments