Add configuration to number of recent posts.
This commit is contained in:
parent
fdd2ae46fa
commit
2633356340
1 changed files with 1 additions and 1 deletions
|
@ -9,7 +9,7 @@
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="row" id="recent-post-cards">
|
<div class="row" id="recent-post-cards">
|
||||||
{{ range first 3 (where site.RegularPages.ByDate.Reverse "Type" "in" "posts" )}}
|
{{ range first .section.numShow (where site.RegularPages.ByDate.Reverse "Type" "in" "posts" )}}
|
||||||
{{ partial "cards/recent-post.html" . }}
|
{{ partial "cards/recent-post.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue