diff --git a/content/all/_index.md b/content/all/_index.md new file mode 100644 index 0000000..c09d307 --- /dev/null +++ b/content/all/_index.md @@ -0,0 +1,3 @@ +--- +title: All posts +--- diff --git a/layouts/all/list.html b/layouts/all/list.html new file mode 100644 index 0000000..9faf30f --- /dev/null +++ b/layouts/all/list.html @@ -0,0 +1,32 @@ +{{ define "body_class" }} tag-template {{ end }} + +{{ define "main" }} + + + {{- partial "site-header.html" $ -}} + + + + + {{ .Title }} + {{ len .Site.RegularPages }} post{{ if gt (len .Site.RegularPages) 1 }}s{{ end }} + + + + + + + + + {{ range $index, $element := (where .Site.RegularPages ".Params.rss_ignore" "ne" "true") }} + {{- partial "post-card.html" (dict "context" . "index" $index "home" $.IsHome) -}} + {{ end }} + + + + +{{ end }}