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 feed "home"}}
|
||||||
{{#match @custom.header_style "Highlight"}}
|
{{#match @custom.header_style "Highlight"}}
|
||||||
{{#match posts.length ">=" 10}}
|
{{#match posts.length ">=" 10}}
|
||||||
{{#foreach posts from="11" limit="9"}}
|
{{#if @custom.highlight_featured_posts}}
|
||||||
{{> "post-card"}}
|
{{#foreach posts from="5" limit="9"}}
|
||||||
{{/foreach}}
|
{{> "post-card"}}
|
||||||
|
{{/foreach}}
|
||||||
|
{{else}}
|
||||||
|
{{#foreach posts from="11" limit="9"}}
|
||||||
|
{{> "post-card"}}
|
||||||
|
{{/foreach}}
|
||||||
|
{{/if}}
|
||||||
{{else}}
|
{{else}}
|
||||||
{{#foreach posts limit="9"}}
|
{{#foreach posts limit="9"}}
|
||||||
{{> "post-card"}}
|
{{> "post-card"}}
|
||||||
|
Loading…
Reference in New Issue
Block a user