+ {{!-- The {#get} helper below fetches some of the latest posts here
+ so that people have something else to read when they finish this one.
- {{!-- The {#get} helper below fetches some of the latest posts here
- so that people have something else to read when they finish this one.
+ This query gets the latest 3 posts on the site, but adds a filter to
+ exclude the post we're currently on from being included. --}}
+ {{#get "posts" filter="id:-{{id}}" include="authors" limit="3" as |more_posts|}}
- This query gets the latest 3 posts on the site, but adds a filter to
- exclude the post we're currently on from being included. --}}
+ {{#if more_posts}}
+
+ {{/if}}
- {{#get "posts" filter="id:-{{id}}" include="authors" limit="3" as |more_posts|}}
- {{#if more_posts}}
- {{#foreach more_posts}}
- {{> "post-card"}}
- {{/foreach}}
- {{/if}}
- {{/get}}
-
-
-