all repos — homestead @ f4fe46aabf09f3adc50b265d4e146bd9da672775

Code for my website

Fix "recent posts" list on homepage

Alan Pearce
commit

f4fe46aabf09f3adc50b265d4e146bd9da672775

parent

383e9b2204b6cab0426dd297ed257f38d7ba95fc

1 file changed, 1 insertion(+), 1 deletion(-)

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>