diff options
| author | Paul Iannetta <paul.iannetta@inria.fr> | 2019-06-10 09:04:12 +0200 |
|---|---|---|
| committer | Paul Iannetta <paul.iannetta@inria.fr> | 2019-06-10 09:04:12 +0200 |
| commit | 7c8d5e9040490162d8048eddb25f95bdef2f4c90 (patch) | |
| tree | f29db36e404b84bdde9a75aee3fc583c1a337946 /content/index.html | |
Diffstat (limited to 'content/index.html')
| -rw-r--r-- | content/index.html | 11 |
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 %> + |
