Featured posts

This commit is contained in:
Sodbileg Gansukh committed 2023-07-10 13:31:23 +08:00
1 parent 490b1edddc
commit 05eefe6aeb
6 files changed
+61 -12

No files matched your search

+16
View File
@@ -0,0 +1,16 @@
{{#if showFeatured}}
{{#get "posts" filter="featured:true" limit="4" as |featured|}}
{{#if featured}}
<section class="gh-featured gh-outer">
<div class="gh-featured-inner gh-inner">
<h2 class="gh-featured-title">Featured</h2>
<div class="gh-featured-feed">
{{#foreach featured}}
{{> "loop"}}
{{/foreach}}
</div>
</div>
</section>
{{/if}}
{{/get}}
{{/if}}