fix: Support table item by weight

Signed-off-by: TheYoungManLi <cjl@kubesphere.io>
This commit is contained in:
TheYoungManLi 2021-12-22 23:34:32 +08:00
parent 6868d68e25
commit d2625e2a54

View File

@ -90,7 +90,7 @@
</tr>
</thead>
<tbody>
{{ range .Page.Sections }}
{{ range sort .Page.Sections "Weight" }}
<tr>
<td>{{ .LinkTitle }}</td>
<td>{{ .Params.profit }}</td>