all repos — website @ acbda1ad5c0c35319c5b1d20d3a3f584c2f2de68

My website

Fix "recent posts" list on homepage
Alan Pearce alan@alanpearce.eu
Mon, 06 Jan 2020 21:02:41 +0100
commit

acbda1ad5c0c35319c5b1d20d3a3f584c2f2de68

parent

e082b6277017b31b7f7a4ec74d766655be96dd7f

1 files changed, 1 insertions(+), 1 deletions(-)

jump to
M layouts/index.htmllayouts/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>