Renamed loop partial

This commit is contained in:
Sodbileg Gansukh
2023-07-30 18:48:03 +08:00
parent 59eaa0663c
commit 86d501e32b
11 changed files with 16 additions and 16 deletions

View File

@@ -6,7 +6,7 @@
<h2 class="gh-featured-title">Featured</h2>
<div class="gh-featured-feed">
{{#foreach featured}}
{{> "loop"}}
{{> "post-card"}}
{{/foreach}}
</div>
</div>

View File

@@ -23,7 +23,7 @@
{{#match @number 5}}
<div class="gh-header-right">
{{/match}}
{{> "loop"}}
{{> "post-card"}}
{{#match @number 4}}
</div>
{{/match}}
@@ -38,7 +38,7 @@
{{#if @custom.show_featured}}
<div class="gh-header-left">
{{#foreach posts limit="4"}}
{{> "loop"}}
{{> "post-card"}}
{{/foreach}}
</div>
<div class="gh-header-right">
@@ -46,7 +46,7 @@
</div>
{{else}}
{{#foreach posts limit="4"}}
{{> "loop"}}
{{> "post-card"}}
{{/foreach}}
{{/if}}
{{/match}}

View File

@@ -6,7 +6,7 @@
<main class="gh-main">
<div class="gh-feed">
{{#foreach posts from="8" limit="9"}}
{{> "loop"}}
{{> "post-card"}}
{{/foreach}}
</div>
</main>