Simpler layout for the highlight header

This commit is contained in:
Sodbileg Gansukh
2023-08-09 22:23:20 +08:00
parent 0ba1291be2
commit abdb00dc81
4 changed files with 27 additions and 25 deletions

View File

@@ -16,7 +16,12 @@
{{!-- Highlight layout --}}
{{#match headerStyle "Highlight"}}
<div class="gh-header-left">
{{#foreach posts limit="4"}}
{{#foreach posts limit="1"}}
{{> "post-card"}}
{{/foreach}}
</div>
<div class="gh-header-middle">
{{#foreach posts from="2" limit="3"}}
{{> "post-card"}}
{{/foreach}}
</div>