diff --git a/layouts/_default/list.html b/layouts/_default/list.html index f311767..248b7b6 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -14,20 +14,7 @@ {{ with .Sections }}
{{ range . }} - - -
-

- {{ with .Params.icon }}{{ partial "icon.html" . }}{{ end }} - {{ .Title | markdownify }} -

- -
- {{ partial "description-or-summary.html" . }} -
-
-
- + {{ .Render "summary/section" }} {{ end }}
{{ end }} @@ -45,10 +32,6 @@ -{{ if gt .Paginator.TotalPages 1 }} - -{{ end }} +{{ partial "pagination.html" . }} {{ end }} diff --git a/layouts/_default/summary/section.html b/layouts/_default/summary/section.html new file mode 100644 index 0000000..6abe069 --- /dev/null +++ b/layouts/_default/summary/section.html @@ -0,0 +1,12 @@ + +
+

+ {{ with .Params.icon }}{{ partial "icon.html" . }}{{ end }} + {{ .Title | markdownify }} +

+ +
+ {{ partial "description-or-summary.html" . }} +
+
+