ghost-theme-sd.ai/partials/recent-posts.hbs
2023-07-17 07:36:13 +08:00

12 lines
529 B
Handlebars

<section class="gh-container is-{{#match @custom.post_list_style "List"}}list{{else}}grid{{/match}}{{#if @custom.hide_images}} no-image{{/if}} gh-outer">
<div class="gh-container-inner gh-inner">
<h2 class="gh-container-title">Read more</h2>
<div class="gh-feed">
{{#get "posts" include="authors" filter="id:-{{post.id}}" limit="3" as |next|}}
{{#foreach next}}
{{> "loop"}}
{{/foreach}}
{{/get}}
</div>
</div>
</section>