summaryrefslogtreecommitdiff
path: root/content/index.html
diff options
context:
space:
mode:
Diffstat (limited to 'content/index.html')
-rw-r--r--content/index.html11
1 files changed, 11 insertions, 0 deletions
diff --git a/content/index.html b/content/index.html
new file mode 100644
index 0000000..7ad1887
--- /dev/null
+++ b/content/index.html
@@ -0,0 +1,11 @@
+<% sorted_articles.each do |post| %>
+ <div class='art'>
+ <div style="float: left;">日付: <%= post[:created_at] %></div>
+ <div style="float: right">タグ: <%= post[:tags].join("・") %></div>
+ <div style="clear: both"></div>
+ <h1><%= link_to post[:title], post.path %></h1>
+ <%= get_summary(post.compiled_content) %>
+ <div style="float: right;"><%= link_to "つづき", post.path %></div>
+ </div>
+<% end %>
+