Commit a8f3a1b5 authored by Laura Kalbag's avatar Laura Kalbag
Browse files

Show 5 photos at a time in list

parent 564806c8
......@@ -9,7 +9,7 @@
<h2 id="latest-photos">Photos</h2>
<p><a href="/photos">See all photos</a>. <a href="/photos/index.xml">Subscribe to the Photos RSS feed</a>.</p>
<ul class="posts-list latest-photos">
{{ range first 4 (where .Site.Pages "Section" "=" "photos") }}
{{ range first 5 (where .Site.Pages "Section" "=" "photos") }}
{{ partial "summary-photo.html" . }}
{{ end }}
</ul>
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment