Sha256: 6f93c864d873e475680619987058ec56ee53ddc7e10b57e8fab307e9acf74870
Contents?: true
Size: 555 Bytes
Versions: 3
Compression:
Stored size: 555 Bytes
Contents
<div class="fuel-post-additional-info"> <!-- <span class="fuel_post_date"><%= post.created_at.strftime('%b %d, %Y') %> - </span> --> <span class="fuel-post-author">By <%= post.author %></span> </div> <% if action_name == "show" %> <div class="fuel-post-content"> <%= markdown(post.content).html_safe %> </div> <% else %> <div class="fuel-post-content"> <%= markdown(truncate post.content, length: 800).html_safe %> </div> <% if post.content.length > 800 %> <p><%= link_to 'Read more', post_url(post) %></p> <% end %> <% end %>
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
fuel-0.2.5 | app/views/fuel/posts/_post.html.erb |
fuel-0.2.4 | app/views/fuel/posts/_post.html.erb |
fuel-0.2.3 | app/views/fuel/posts/_post.html.erb |