Commit 9d136a4e2e432ea0a20092fc221ac1a4cef1a3af
added created_at to index
| |   |
| 68 | 68 | h1 |
| 69 | 69 | +font-size(20px) |
| 70 | 70 | font-weight: bold |
| span.date |
| +font-size(9px) |
| float: right |
| margin-top: 13px |
| 71 | 75 | p |
| 72 | 76 | margin: 10px 0 10px 0 |
| 73 | 77 | pre |
| … | … | |
| 79 | 79 | margin: 15px 0 15px 10px |
| 80 | 80 | background-color: #EEE |
| 81 | 81 | overflow: auto |
| |
| |
| 82 | 84 | .title |
| 83 | 85 | margin-bottom: 20px |
| 84 | 86 | h1 |
| |   |
| 1 | 1 | %div.post |
| %span.date= link_to post.created_at.to_date.to_s(:db), post_path(post) |
| 2 | 3 | %h1.name= link_to h(post.title), post_path(post) |
| 3 | 4 | = link_to "(#{post.comments_count})", (post_path(post) + '#comments') if post.comments_count > 0 |
| 4 | 5 | = render :partial => 'layouts/control', :locals => {:post => post} |
| |   |
| 41 | 41 | #Main .content .post p a, #Main .content .page p a { text-decoration: underline; } |
| 42 | 42 | #Main .content .post textarea, #Main .content .page textarea { width: 100%; } |
| 43 | 43 | #Main .content .post h1, #Main .content .page h1 { font-size: 153.846%; font-weight: bold; } |
| #Main .content .post span.date, #Main .content .page span.date { font-size: 69.231%; float: right; margin-top: 13px; } |
| 44 | 45 | #Main .content .post p, #Main .content .page p { margin: 10px 0 10px 0; } |
| 45 | 46 | #Main .content .post pre, #Main .content .page pre { font-family: courier; margin: 15px 0 15px 10px; background-color: #EEE; overflow: auto; } |
| 46 | 47 | #Main .content .title { margin-bottom: 20px; } |