You've already forked Ghost-Theme-Casper
Cleanup
This commit is contained in:
3
post.hbs
3
post.hbs
@@ -98,7 +98,7 @@ into the {body} tag of the default.hbs template --}}
|
||||
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}}" limit="3" as |more_posts|}}
|
||||
{{#get "posts" filter="id:-{{id}}" include="authors" limit="3" as |more_posts|}}
|
||||
{{#if more_posts}}
|
||||
{{#foreach more_posts}}
|
||||
{{> "post-card"}}
|
||||
@@ -109,6 +109,7 @@ into the {body} tag of the default.hbs template --}}
|
||||
</div>
|
||||
</aside>
|
||||
|
||||
|
||||
{{/post}}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user