about summary refs log tree commit diff stats
path: root/layouts/index.html
diff options
context:
space:
mode:
authorAlan Pearce2020-01-06 21:02:41 +0100
committerAlan Pearce2020-01-06 21:02:41 +0100
commitacbda1ad5c0c35319c5b1d20d3a3f584c2f2de68 (patch)
tree20db5c674d425e4cde99537e925f9240d6ce0d52 /layouts/index.html
parente082b6277017b31b7f7a4ec74d766655be96dd7f (diff)
downloadwebsite-acbda1ad5c0c35319c5b1d20d3a3f584c2f2de68.tar.xz
website-acbda1ad5c0c35319c5b1d20d3a3f584c2f2de68.zip
Fix "recent posts" list on homepage
Diffstat (limited to 'layouts/index.html')
-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 @@
5 <section class="recent"> 5 <section class="recent">
6 <h2>Recent Posts</h2> 6 <h2>Recent Posts</h2>
7 <ul class="posts"> 7 <ul class="posts">
8 {{- range first 3 .Data.Pages }} 8 {{- range first 3 .Site.RegularPages }}
9 <li> 9 <li>
10 <a class="post-title" href="{{ .RelPermalink | replaceRE "/$" "" }}">{{ .Title }}</a> 10 <a class="post-title" href="{{ .RelPermalink | replaceRE "/$" "" }}">{{ .Title }}</a>
11 <time class="post-date" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}">{{ .Date.Format "Monday, 2 January 2006" }}</time> 11 <time class="post-date" datetime="{{ .Date.Format "2006-01-02T15:04:05Z" }}">{{ .Date.Format "Monday, 2 January 2006" }}</time>