1 2 3 4 5 6 7 8 9 10 11 12
--- layout: default --- <h1>Pastebins listing</h1> <ul> {% 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] }} </li> {%- endfor -%} </ul>