diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 9ca736f..17dd4cc 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -2,7 +2,9 @@ {{ $paginator := .Paginate .Data.Pages }} {{ range $paginator.Pages }} - {{ .Render "summary" }} +
+ {{ .Render "summary" }} +
{{ end }} {{ partial "pagination" . }} diff --git a/layouts/_default/summary.html b/layouts/_default/summary.html index 5f87343..387ad66 100644 --- a/layouts/_default/summary.html +++ b/layouts/_default/summary.html @@ -2,22 +2,17 @@
- Placeholder image +
+
-
-
-

{{ .Title }}

-

{{ .Date.Format "January 02 2006" }}

-
-
+

{{ .Title }}

+

{{ .Date.Format "January 02 2006" }} by {{ .Params.author }}

{{ .Summary }}
- -
+ \ No newline at end of file diff --git a/layouts/index.html b/layouts/index.html index 2780b49..d9d2703 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,9 +1,11 @@ -{{ define "main" }} -{{ $paginator := .Paginate (where .Data.Pages "Section" "entry") 3 }} +{{ define "main" }} {{ $paginator := .Paginate (where .Data.Pages "Section" "entry") 3 }} -{{ range $paginator.Pages }} -{{ .Render "summary" }} -{{ end }} +
+ {{ range $paginator.Pages }} +
+ {{ .Render "summary" }} +
+ {{ end }} +
-{{ partial "pagination" . }} -{{ end }} \ No newline at end of file +{{ partial "pagination" . }} {{ end }} \ No newline at end of file