ghost-theme-sd.ai/partials/recent-posts.hbs

12 lines
550 B
Handlebars
Raw Normal View History

2023-08-14 02:10:22 +01:00
<section class="gh-container is-{{#match @custom.post_feed_style "List"}}grid{{else}}grid{{/match}}{{#unless @custom.show_images_in_feed}} no-image{{/unless}} gh-outer">
<div class="gh-container-inner gh-inner">
2023-07-13 09:45:44 +01:00
<h2 class="gh-container-title">Read more</h2>
<div class="gh-feed">
2023-08-14 02:10:22 +01:00
{{#get "posts" include="authors" filter="id:-{{post.id}}" limit="4" as |next|}}
2023-07-13 09:45:44 +01:00
{{#foreach next}}
2023-07-30 11:48:03 +01:00
{{> "post-card"}}
2023-07-13 09:45:44 +01:00
{{/foreach}}
{{/get}}
</div>
</div>
</section>