This commit is contained in:
Sodbileg Gansukh
2023-07-26 16:03:19 +08:00
parent 93bce3d338
commit fa133aa6ad
8 changed files with 193 additions and 26 deletions

View File

@@ -35,9 +35,20 @@
{{!-- Highlight layout --}}
{{#match headerStyle "Highlight"}}
{{#foreach posts limit="4"}}
{{> "loop"}}
{{/foreach}}
{{#if @custom.show_featured}}
<div class="gh-header-left">
{{#foreach posts limit="4"}}
{{> "loop"}}
{{/foreach}}
</div>
<div class="gh-header-right">
{{> "components/featured" showFeatured=@custom.show_featured limit=6}}
</div>
{{else}}
{{#foreach posts limit="4"}}
{{> "loop"}}
{{/foreach}}
{{/if}}
{{/match}}
{{!-- Landing layout --}}