You've already forked Ghost-Theme-Source
4-column grid layout when there's no sidebar
This commit is contained in:
@@ -22,31 +22,31 @@
|
||||
{{#match @custom.header_style "Highlight"}}
|
||||
{{#match posts.length ">=" 10}}
|
||||
{{#if @custom.highlight_featured_posts}}
|
||||
{{#foreach posts from="5" limit="9"}}
|
||||
{{#foreach posts from="5" limit="8"}}
|
||||
{{> "post-card"}}
|
||||
{{/foreach}}
|
||||
{{else}}
|
||||
{{#foreach posts from="11" limit="9"}}
|
||||
{{#foreach posts from="11" limit="8"}}
|
||||
{{> "post-card"}}
|
||||
{{/foreach}}
|
||||
{{/if}}
|
||||
{{else}}
|
||||
{{#foreach posts limit="9"}}
|
||||
{{#foreach posts limit="8"}}
|
||||
{{> "post-card"}}
|
||||
{{/foreach}}
|
||||
{{/match}}
|
||||
{{else match @custom.header_style "Magazine"}}
|
||||
{{#match posts.length ">=" 7}}
|
||||
{{#foreach posts from="8" limit="9"}}
|
||||
{{#foreach posts from="8" limit="8"}}
|
||||
{{> "post-card"}}
|
||||
{{/foreach}}
|
||||
{{else}}
|
||||
{{#foreach posts limit="9"}}
|
||||
{{#foreach posts limit="8"}}
|
||||
{{> "post-card"}}
|
||||
{{/foreach}}
|
||||
{{/match}}
|
||||
{{else}}
|
||||
{{#foreach posts limit="9"}}
|
||||
{{#foreach posts limit="8"}}
|
||||
{{> "post-card"}}
|
||||
{{/foreach}}
|
||||
{{/match}}
|
||||
|
||||
Reference in New Issue
Block a user