diff --git a/content/about/_index.md b/content/about/_index.md index fac8a59..d7bd609 100644 --- a/content/about/_index.md +++ b/content/about/_index.md @@ -1,5 +1,6 @@ +++ title = "about" +weight = 2 type = "generic" layout = "single" diff --git a/content/posts/_index.md b/content/posts/_index.md index b6e7465..bcc96a4 100644 --- a/content/posts/_index.md +++ b/content/posts/_index.md @@ -1,5 +1,6 @@ +++ title = "home" +weight = 1 [cascade] type = "posts" diff --git a/layouts/generic/list.html b/layouts/generic/list.html new file mode 100644 index 0000000..5e702c0 --- /dev/null +++ b/layouts/generic/list.html @@ -0,0 +1,18 @@ +{{- define "content" -}} + +{{ .Content }} + + + {{- range .Pages -}} + + + + + {{- end -}} +
+ {{ .Title }} + + {{ partial "rel-date" .Date }} +
+ +{{- end -}}