summaryrefslogtreecommitdiff
path: root/index.md.erb
diff options
context:
space:
mode:
Diffstat (limited to 'index.md.erb')
-rw-r--r--index.md.erb13
1 files changed, 13 insertions, 0 deletions
diff --git a/index.md.erb b/index.md.erb
new file mode 100644
index 0000000..4da9a5d
--- /dev/null
+++ b/index.md.erb
@@ -0,0 +1,13 @@
+Web log entries
+===============
+<style>
+li {
+ list-style-type: none;
+}
+time {
+ color: #AAAAAA;
+ font-family: monospace;
+}
+</style>
+<% @pages.sort_by{|p| p.date}.reverse.each do |a| %>
+ * <time><%= a.date.strftime('%Y-%m-%d') %></time> - [<%= a.title %>](./<%= a.slug %>.html)<% end %>