about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAlan Pearce2020-01-06 21:02:41 +0100
committerAlan Pearce2020-01-06 21:02:41 +0100
commitacbda1ad5c0c35319c5b1d20d3a3f584c2f2de68 (patch)
tree20db5c674d425e4cde99537e925f9240d6ce0d52
parente082b6277017b31b7f7a4ec74d766655be96dd7f (diff)
downloadwebsite-acbda1ad5c0c35319c5b1d20d3a3f584c2f2de68.tar.lz
website-acbda1ad5c0c35319c5b1d20d3a3f584c2f2de68.tar.zst
website-acbda1ad5c0c35319c5b1d20d3a3f584c2f2de68.zip
Fix "recent posts" list on homepage
-rw-r--r--layouts/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/index.html b/layouts/index.html
index 870efea..46493e8 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -5,7 +5,7 @@
   <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>