aboutsummaryrefslogtreecommitdiff
path: root/_layouts/pastebins-listing.html
diff options
context:
space:
mode:
authorEuAndreh <eu@euandre.org>2020-02-05 02:23:47 -0300
committerEuAndreh <eu@euandre.org>2020-02-05 02:23:47 -0300
commitcc753d9f38e2d9e7f6f45905927a712654a57852 (patch)
tree59ed0d238658cf21148906328da23efe2dbcb0ab /_layouts/pastebins-listing.html
parentReproduce hakyll behaviour (diff)
downloadeuandre.org-cc753d9f38e2d9e7f6f45905927a712654a57852.tar.gz
euandre.org-cc753d9f38e2d9e7f6f45905927a712654a57852.tar.xz
Use collections for pastebins
Diffstat (limited to '')
-rw-r--r--_layouts/pastebins-listing.html10
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>