Fixed highlight header post count
This commit is contained in:
parent
ec34530601
commit
a54c55171a
0
assets/built/casper.js
Executable file → Normal file
0
assets/built/casper.js
Executable file → Normal file
@ -21,9 +21,15 @@
|
||||
{{#match feed "home"}}
|
||||
{{#match @custom.header_style "Highlight"}}
|
||||
{{#match posts.length ">=" 10}}
|
||||
{{#if @custom.highlight_featured_posts}}
|
||||
{{#foreach posts from="5" limit="9"}}
|
||||
{{> "post-card"}}
|
||||
{{/foreach}}
|
||||
{{else}}
|
||||
{{#foreach posts from="11" limit="9"}}
|
||||
{{> "post-card"}}
|
||||
{{/foreach}}
|
||||
{{/if}}
|
||||
{{else}}
|
||||
{{#foreach posts limit="9"}}
|
||||
{{> "post-card"}}
|
||||
|
Loading…
Reference in New Issue
Block a user