Show featured title even if there's no featured posts
This commit is contained in:
parent
f6c43f7096
commit
4691984a01
@ -1,6 +1,5 @@
|
|||||||
{{#if showFeatured}}
|
{{#if showFeatured}}
|
||||||
{{#get "posts" filter="featured:true" include="authors" limit=limit as |featured|}}
|
{{#get "posts" filter="featured:true" include="authors" limit=limit as |featured|}}
|
||||||
{{#if featured}}
|
|
||||||
<section class="gh-featured gh-outer">
|
<section class="gh-featured gh-outer">
|
||||||
<div class="gh-featured-inner gh-inner">
|
<div class="gh-featured-inner gh-inner">
|
||||||
<h2 class="gh-featured-title">Featured</h2>
|
<h2 class="gh-featured-title">Featured</h2>
|
||||||
@ -11,6 +10,5 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</section>
|
</section>
|
||||||
{{/if}}
|
|
||||||
{{/get}}
|
{{/get}}
|
||||||
{{/if}}
|
{{/if}}
|
Loading…
Reference in New Issue
Block a user