diff options
author | EuAndreh <eu@euandre.org> | 2020-08-12 12:06:07 -0300 |
---|---|---|
committer | EuAndreh <eu@euandre.org> | 2020-08-12 12:06:07 -0300 |
commit | 3720c8b0146c10a63dc1d9eba0556e0a67adfd1d (patch) | |
tree | 463e3dc33553c05f85275617617f342cb20f38ab /_layouts/pastebins-listing.html | |
parent | scripts/assert-content.sh: Add check for missing title (diff) | |
download | euandre.org-3720c8b0146c10a63dc1d9eba0556e0a67adfd1d.tar.gz euandre.org-3720c8b0146c10a63dc1d9eba0556e0a67adfd1d.tar.xz |
Use _includes/i18n-date.html for dates
Diffstat (limited to '')
-rw-r--r-- | _layouts/pastebins-listing.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/_layouts/pastebins-listing.html b/_layouts/pastebins-listing.html index 4c37c93..58837e1 100644 --- a/_layouts/pastebins-listing.html +++ b/_layouts/pastebins-listing.html @@ -6,7 +6,7 @@ layout: default {% assign pastebins = site.pastebins | sort: "date" | reverse %} {%- for pastebin in pastebins -%} <li> - <a href="{{ pastebin.url | relative_url }}">{{ pastebin.title | escape }}</a> - {{ pastebin.date | date: site.t.date_format[page.lang] }} + <a href="{{ pastebin.url | relative_url }}">{{ pastebin.title | escape }}</a> - {% include i18n-date.html date=pastebin.date %} </li> {%- endfor -%} </ul> |