Timeago date filter for Liquid templates!
Jekyll-timeago is a Liquid extension to compute and display distance of dates in words. It allows localization and integrates easily with Jekyll. You can use it via a filter or via tag:
{{ a_date_object | timeago: '2020-1-1' }} {% timeago 2010-1-1 2020-1-1 %}
Post a comment