diff --git a/layouts/_default/list.html b/layouts/_default/list.html index cc3f6535..6b8d7deb 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,9 +1,14 @@ {{ define "main" }} -

Posts

- {{ range .Data.Pages }} -
-

{{ .Title }}

- {{ .Content }} -
- {{ end }} +{{ $ctx := . }} +

+ {{ if .Data.Singular }} + {{ .Data.Singular | title }} + {{ end }} + {{ .Title }} +

+{{ range .Data.Pages }} +
+

{{ .Title }}

+
+{{ end }} {{ end }} diff --git a/layouts/_default/single.html b/layouts/_default/single.html index e3e685b2..120aeffd 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -1,4 +1,5 @@ {{ define "main" }} +{{ $ctx := . }}
@@ -20,13 +21,13 @@

Posted on by {{ .Para