diff --git a/layouts/index.html b/layouts/index.html index e8560c6..d8e9380 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,10 +1,10 @@ {{ partial "header.html" . }}
- {{ $paginator := .Paginate (where .Site.Pages "Type" "post") }} + {{ $paginator := .Paginate (where .Site.Pages "Type" "item") }} {{ range $paginator.Pages }} - {{ partial "summary.html" . }} + {{ partial "item.html" . }} {{ end }} {{ partial "pagination.html" . }}
{{ partial "sidebar.html" . }} -{{ partial "footer.html" . }} \ No newline at end of file +{{ partial "footer.html" . }} diff --git a/layouts/partials/item.html b/layouts/partials/item.html new file mode 100644 index 0000000..ad5a36d --- /dev/null +++ b/layouts/partials/item.html @@ -0,0 +1,9 @@ +
+

{{ .Title }}

+ {{ range .Params.tags }} + {{ . }} + {{ end }} +
+ {{ .Content }} +
+