mirror of
https://github.com/danbee/danbarber.me.hugo.git
synced 2025-03-04 08:59:18 +00:00
Show five posts on the front page
This commit is contained in:
parent
52324d3df1
commit
9b37dc0533
@ -31,7 +31,7 @@
|
|||||||
<h2>From the Blog</h2>
|
<h2>From the Blog</h2>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
{{ range first 3 (where .Site.RegularPages "Section" "blog") }}
|
{{ range first 5 (where .Site.RegularPages "Section" "blog") }}
|
||||||
{{ partial "blog_post_summary.html" . }}
|
{{ partial "blog_post_summary.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user