Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
laurakalbag-dot-com
laurakalbag-dot-com
Commits
a8f3a1b5
Commit
a8f3a1b5
authored
Feb 07, 2019
by
Laura Kalbag
⚡
Browse files
Show 5 photos at a time in list
parent
564806c8
Changes
1
Hide whitespace changes
Inline
Side-by-side
layouts/latest/list.html
View file @
a8f3a1b5
...
...
@@ -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>
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment