@@ -5,43 +5,46 @@ <h1 class="bd-title">
5
5
{{ .Title }}
6
6
</ h1 >
7
7
{{ if .Description }}
8
- < p >
8
+ < p class =" bd-lead " >
9
9
{{ .Description | markdownify }}
10
10
</ p >
11
11
{{ end}}
12
12
{{ if .Content }}
13
- < p >
13
+ < p class =" bd-lead " >
14
14
{{ .Content | markdownify }}
15
15
</ p >
16
16
{{ end }}
17
17
</ div >
18
18
</ div >
19
19
20
- < section >
20
+ < section class ="col-md-12 col-xl-12 py-md-3 pl-md-5 " id ="section-content-list ">
21
+
21
22
< div class ="row ">
22
- < div class ="card-deck ">
23
- {{ range .Pages.GroupBy "Section" }}
24
-
25
- {{ range .Pages.ByWeight }}
26
- < div class ="col-md-5 card ">
27
- < div class ="card-body ">
28
- < h3 class ="card-title ">
29
- < i class ="fas fa-{{if eq .Kind "page "}}file-alt{{else}}book{{end}} fa-2x card-img-top"> </ i >
30
- < a href ="{{ if .Params.url}}{{ .Params.url}}{{else}}{{ .Permalink }}{{end}} "> {{ .Title }}</ a >
31
- </ h3 >
32
- {{/*}}< p class ="card-text ">
33
- {{ if .Description }}{{ .Description | markdownify }}{{ end }}
34
- </ p > {{*/}}
35
-
36
- </ div >
37
- </ div >
38
-
39
- {{ end }}
23
+ < div class ="card-deck ">
24
+ {{ range .Pages.ByWeight }}
25
+ < div class ="col-md-5 card ">
26
+ < div class ="card-body ">
27
+ < h3 class ="card-title ">
28
+ < i class ="fas fa-{{if eq .Kind "page "}}file-alt{{else}}book{{end}} fa-2x card-img-top"> </ i >
29
+ < a href ="{{ if .Params.url}}{{ .Params.url}}{{else}}{{ .Permalink }}{{end}} "> {{ .Title }}</ a >
30
+ </ h3 >
31
+ {{/*}}< p class ="card-text ">
32
+ {{ if .Description }}{{ .Description | markdownify }}{{ end }}
33
+ </ p > {{*/}}
34
+ </ div >
35
+ </ div >
36
+ {{ end }}
37
+ </ div >
40
38
</ div >
41
- </ div >
42
- {{ end }}
39
+ </ section >
40
+ </ div >
43
41
44
42
45
- </ section >
43
+ {{ if not .IsHome }}
44
+ < div class ="row justify-content-center ">
45
+ {{ partial "pagination.html" . }}
46
+ </ div >
47
+ {{ end }}
48
+
46
49
47
50
</ div>
0 commit comments