Log in Sign up

List 5 most recent entries

I am working on a static homepage and part of that I would like to have a section where It just lists the 5 most recent posts with no summary.

Output would be something like: TITLE posted on DATE

I tried just getting list of all entries as a start but just showing blank area

{{#recent_entries}}
<p><a href="{{url}}">{{title}}</a></p>
{{/recent_entries}}

21 days ago, 1 replies   developers   Edit question

Your template code should work – are you definitely adding this to a template file? Please note that this code will not work when added to a page or post in Blot's folder. If you want to add this to your site's homepage, you'll need to create a new template file called index.html and add this code to it

Answered 21 days ago · Edit answer