ghost-theme-sd.ai/partials/components/featured.hbs

14 lines
532 B
Handlebars
Raw Normal View History

2023-07-10 06:31:23 +01:00
{{#if showFeatured}}
2023-07-26 09:03:19 +01:00
{{#get "posts" filter="featured:true" include="authors" limit=limit as |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}}
2023-09-19 14:19:25 +01:00
{{> "post-card" imageSizes="80px"}}
{{/foreach}}
2023-07-10 06:31:23 +01:00
</div>
</div>
</section>
2023-07-10 06:31:23 +01:00
{{/get}}
{{/if}}