|
@@ -11,13 +11,12 @@
|
|
|
|
|
|
{{ $paginator := .Paginate .Data.Pages }}
|
|
|
{{ range $paginator.Pages }}
|
|
|
- {{ $params := dict "post" . }}
|
|
|
{{ if eq $.Params.list_format 0 }}
|
|
|
- {{ partial "post_li_simple" $params }}
|
|
|
+ {{ partial "post_li_simple" . }}
|
|
|
{{ else if eq $.Params.list_format 1 }}
|
|
|
- {{ partial "post_li_detailed" $params }}
|
|
|
+ {{ partial "post_li_detailed" . }}
|
|
|
{{ else }}
|
|
|
- {{ partial "post_li_stream" $params }}
|
|
|
+ {{ partial "post_li_stream" . }}
|
|
|
{{ end }}
|
|
|
{{ end }}
|
|
|
|