diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 9c3d260..cebd812 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -6,7 +6,7 @@ {{ partial "header.html" . -}}
{{- block "side" . }}{{- end }} -
+
{{- block "main" . }}{{- end }} {{- partial "footer.html" . -}}
diff --git a/layouts/index.html b/layouts/index.html index f319bf9..bb69804 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -1,2 +1,16 @@ {{ define "main" }} +
+ {{- partial "prose.html" . -}} + +

Post

+ + {{- range where site.RegularPages "Type" "in" site.Params.mainSections -}} + + {{- partial "li.html" ( dict + "url" .Permalink + "title" .Title + "subTitle" (.Date | time.Format (":date_medium")) + ) -}} + {{- end -}} +
{{ end }} \ No newline at end of file