From f1f87aaddd84f034a143659f94d5aa9186024712 Mon Sep 17 00:00:00 2001 From: Jake Howard Date: Sun, 23 Apr 2017 13:07:32 +0100 Subject: [PATCH] Add title to recent pages --- layouts/index.html | 33 ++++++++++++++++++--------------- 1 file changed, 18 insertions(+), 15 deletions(-) diff --git a/layouts/index.html b/layouts/index.html index 67e5d48..78c1cdf 100644 --- a/layouts/index.html +++ b/layouts/index.html @@ -40,21 +40,24 @@ -
- {{ range first 6 (where .Data.Pages.ByDate "Kind" "page") }} - {{ if ne .Section "" }} -
-
- -

{{ .Title }}

-

{{ .Summary }}

- -
-
+
+

Recent Posts

+
+ {{ range first 6 (where .Data.Pages.ByDate "Kind" "page") }} + {{ if ne .Section "" }} +
+
+ +

{{ .Title }}

+

{{ .Summary }}

+ +
+
+ {{ end }} {{ end }} - {{ end }} -
+
+
{{ partial "page_end.html" . }}