Latest update date
Hello, is it possible to have a message on the homepage saying something like "Latest update on: " and have the date of the latest blog entry displayed there? Thanks!
Yes, but you'll need to add some code to your template, and edit the source file for your homepage. Add the following to your template's entry.html file, inside the {{#entry}}
block:
{{#entry.page}}
{{#entry.metadata.homepage}}
Last updated: {{#recentEntries}}{{#first}}{{date}}{{/first}}{{/recentEntries}}
{{/entry.metadata.homepage}}
{{/entry.page}}
Then you'll want to add the following custom metadata to your homepage:
Homepage: yes
Does that make sense? Please let me know if you have any questions about any of this
Answered 3 years ago · Edit answer
Newsletter
Get updates on Blot’s latest features and changes. Delivered every three months.