mirror of
https://github.com/kubesphere/website.git
synced 2025-12-26 00:12:48 +00:00
Merge pull request #2217 from weili520/lesson_sort
fix: Support sort lesson by weight
This commit is contained in:
commit
6868d68e25
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
linkTitle: 第一章:容器化基础
|
||||
weight: 1
|
||||
|
||||
_build:
|
||||
render: false
|
||||
|
|
|
|||
|
|
@ -1,5 +1,6 @@
|
|||
---
|
||||
linkTitle: 第二章:Kubernetes 基础
|
||||
weight: 2
|
||||
|
||||
_build:
|
||||
render: false
|
||||
|
|
|
|||
|
|
@ -77,7 +77,7 @@
|
|||
<div class="common-layout">
|
||||
<h2>{{ .Params.section6.title }}</h2>
|
||||
<ul class="level">
|
||||
{{ range .Page.Sections }}
|
||||
{{ range sort .Page.Sections "Weight" }}
|
||||
<li>
|
||||
<p class="title">{{ .LinkTitle }}</p>
|
||||
<table>
|
||||
|
|
|
|||
Loading…
Reference in New Issue