diff options
| author | EuAndreh <eu@euandre.org> | 2020-02-05 02:23:47 -0300 |
|---|---|---|
| committer | EuAndreh <eu@euandre.org> | 2020-02-05 02:23:47 -0300 |
| commit | cc753d9f38e2d9e7f6f45905927a712654a57852 (patch) | |
| tree | 59ed0d238658cf21148906328da23efe2dbcb0ab /_layouts/pastebins-listing.html | |
| parent | Reproduce hakyll behaviour (diff) | |
| download | euandre.org-cc753d9f38e2d9e7f6f45905927a712654a57852.tar.gz euandre.org-cc753d9f38e2d9e7f6f45905927a712654a57852.tar.xz | |
Use collections for pastebins
Diffstat (limited to '_layouts/pastebins-listing.html')
| -rw-r--r-- | _layouts/pastebins-listing.html | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/_layouts/pastebins-listing.html b/_layouts/pastebins-listing.html new file mode 100644 index 0000000..6b7830c --- /dev/null +++ b/_layouts/pastebins-listing.html @@ -0,0 +1,10 @@ +--- +layout: default +--- +<ul> + {%- for pastebin in site.pastebins -%} + <li> + <a href="{{ pastebin.url | relative_url }}">{{ pastebin.title | escape }}</a> - {{ pastebin.date | date: "%b %-d, %Y" }} + </li> + {%- endfor -%} +</ul> |
