Simpler layout for the highlight header

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

No files matched your search

+6 -1
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>