mirror of
https://github.com/TryGhost/Ruby.git
synced 2024-10-29 20:38:33 +02:00
14 lines
489 B
Handlebars
14 lines
489 B
Handlebars
<div class="widget widget-recent u-shadow">
|
|
<h4 class="widget-title">Recent Posts</h4>
|
|
{{#get "posts" limit="3" include="tags" as |recents|}}
|
|
{{#if recents}}
|
|
<div class="recent-posts">
|
|
{{#foreach recents}}
|
|
<article class="recent">
|
|
{{> post-header tag="h5" hide_tag=true show_date=true}}
|
|
</article>
|
|
{{/foreach}}
|
|
</div>
|
|
{{/if}}
|
|
{{/get}}
|
|
</div> |