Merge pull request #2218 from weili520/sort

fix: Support table item by weight
This commit is contained in:
KubeSphere CI Bot 2021-12-23 10:21:18 +08:00 committed by GitHub
commit 02cbf72ecd
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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>