+ {{ partial "article_first" . }}
+ {{ $paginator := .Paginate (where .Site.Pages "Type" "post") }}
+ {{ range $paginator.Pages }}
-
+ {{ $s := path.Dir (.Permalink | relURL) }}
+ {{ $t := index (split $s "/") 5 }}
- {{ if and (isset .Params "banner") (not (eq .Params.banner "")) }}
-
-
{{ end }}
-
+ {{ if $t }}
+
- {{ partial "article_header" . }}
-
-
- {{ .Summary }} ...
-
-
-
- Read more
-
-
-
-
-
-
-
- {{ end }}
+
- {{ partial "pagination" . }}
+ {{ if and (isset .Params "banner") (not (eq .Params.banner "")) }}
+
+
{{ end }}
+
+
+ {{ partial "article_header" . }}
+
+
+ {{ .Summary }} ...
+
+
+
+ Read more
+
+
+
+
+
+
+ {{ end }}
+
+ {{ end }}
+ {{ partial "pagination" . }}