Fix "recent posts" list on homepage
Alan Pearce alan@alanpearce.eu
Mon, 06 Jan 2020 21:02:41 +0100
1 files changed, 1 insertions(+), 1 deletions(-)
jump to
M layouts/index.html → layouts/index.html
@@ -5,7 +5,7 @@ </section> <section class="recent"> <h2>Recent Posts</h2> <ul class="posts"> - {{- range first 3 .Data.Pages }} + {{- range first 3 .Site.RegularPages }} <li> <a class="post-title" href="{{ .RelPermalink | replaceRE "/$" "" }}">{{ .Title }}</a> <time class="post-date" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}">{{ .Date.Format "Monday, 2 January 2006" }}</time>