Sha256: 956f13ce20e35802236f5d684c20779ada172dd232c45d3849fcf23d044bebcf
Contents?: true
Size: 759 Bytes
Versions: 1
Compression:
Stored size: 759 Bytes
Contents
<% content_for :title, Write.title + " - " + Write.tagline %> <%= stylesheet_link_tag "write/application", :media => "all" %> <%= content_tag :div, Write.tagline, class: "blog-title" %> <% @posts.each do |p| %> <div class="post-container"> <%= link_to p.description, short_post_path(p.year, p.code), class: "post-title" %> <%= content_tag :div, timestamp_display(p), class: "post-time" %> <div class="post-content"> <%= truncate_html(Write::MD.render(p.content), :length => 256).html_safe %> <%= link_to "Read", short_post_path(p.year, p.code), class: "post-continue" %> </div> </div> <% end %> <% if write_admin? %> <div class="write-admin"> <%= link_to "Refresh all posts", posts_refresh_path %> </div> <% end %>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
write-0.2.1 | app/views/write/posts/index.html.erb |