File tree Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Expand file tree Collapse file tree 1 file changed +17
-3
lines changed Original file line number Diff line number Diff line change @@ -24,12 +24,26 @@ <h1>{{ .Title }}</h1>
24
24
{{ $hasCustomContent := index .Params "nd-landing-page" | default false }}
25
25
{{ if $hasCustomContent }}
26
26
{{ .Content }}
27
+
28
+ <!-- Default index page content -->
27
29
{{ else }}
30
+
31
+ < h2 > In this section </ h2 >
32
+ < div class ="card-section featured-section ">
33
+ < div class ="card-section-content card-grid ">
28
34
{{ range .Pages.ByWeight }}
29
- < h2 >
30
- < a href ="{{ .Permalink }} "> {{ .Title }}</ a >
31
- </ h2 >
35
+ < a href ="{{ .Permalink }} " alt ="{{ .Title }} " class ="card " data-grid ="first-two-thirds ">
36
+ < div class ="card-container ">
37
+ < div class ="card-header ">
38
+ < h2 class ="card-title "> {{ .Title }}</ h2 >
39
+ </ div >
40
+ < div class ="card-content "> {{ .Description }}</ div >
41
+ </ div >
42
+ </ a >
32
43
{{ end }}
44
+ </ div >
45
+ </ div >
46
+
33
47
{{ end }}
34
48
35
49
< hr >
You can’t perform that action at this time.
0 commit comments