diff options
author | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-08-27 19:12:36 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@sbcglobal.net> | 2016-08-27 19:12:36 -0400 |
commit | 75d4d72a1f5352d1c3520fbaf96911309fc7f96a (patch) | |
tree | 942dfa89658964e5954f159fa4d9b41c6b7bc423 /index.md.erb | |
parent | b373a3a6e1702e7514bb405122a2311d16d85fcd (diff) |
index.atom, also: write-atomic
Diffstat (limited to 'index.md.erb')
-rw-r--r-- | index.md.erb | 13 |
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 %> |