We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f6c43f7 commit 4691984Copy full SHA for 4691984
partials/components/featured.hbs
@@ -1,16 +1,14 @@
1
{{#if showFeatured}}
2
{{#get "posts" filter="featured:true" include="authors" limit=limit as |featured|}}
3
- {{#if featured}}
4
- <section class="gh-featured gh-outer">
5
- <div class="gh-featured-inner gh-inner">
6
- <h2 class="gh-featured-title">Featured</h2>
7
- <div class="gh-featured-feed">
8
- {{#foreach featured}}
9
- {{> "post-card"}}
10
- {{/foreach}}
11
- </div>
+ <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}}
+ {{> "post-card"}}
+ {{/foreach}}
12
</div>
13
- </section>
14
- {{/if}}
+ </div>
+ </section>
15
{{/get}}
16
{{/if}}
0 commit comments