Sha256: e47893643f1ca2c4b5dfded8c7625e29af0c31c6b3bf51ed1547d5e481d56624

Contents?: true

Size: 651 Bytes

Versions: 1

Compression:

Stored size: 651 Bytes

Contents

<div class="article">
  <% if article.date %>
    <span class="date right"><%= article.date.formatted %></span>
  <% end %>
  <h2><a href="<%= article.url %>"><%= article.title %></a></h2>
  <div class="body">
    <% if summary_only %>
      <%= article.summary.formatted %>
      <span class="right date"><a href="<%= article.url %>">read on...</a></span>
    <% else %>
      <%= article.body.formatted %>
      
      <% if article.instance_of?(Serious::Article) %>
        <span class="author right">Written by <%= article.author %></span>   
        <%= render_partial :disqus if Serious.disqus %> 
      <% end %>
    <% end %>
  </div>

</div>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
serious-0.2.3 lib/site/views/_article.erb