summaryrefslogtreecommitdiff
path: root/_layouts/pastebins-listing.html
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--_layouts/pastebins-listing.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/_layouts/pastebins-listing.html b/_layouts/pastebins-listing.html
new file mode 100644
index 0000000..2829411
--- /dev/null
+++ b/_layouts/pastebins-listing.html
@@ -0,0 +1,11 @@
+---
+layout: default
+---
+<h1>Pastebins listing</h1>
+<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>