Sha256: 9b7d9f0d9b7ba86da351eef7a0d21312c89e67fb4b5e302ebfc144d2205ff593
Contents?: true
Size: 1.36 KB
Versions: 8
Compression:
Stored size: 1.36 KB
Contents
<div class="article <%= (article_counter < 0) ? 'first' : 'small' %>"> <% cache article do %> <div class="hero_image"> <%= link_to article_path(article), { style: "background-image:url('#{article.image_url}')" } do %> <img src="<%= article.image_url %>" alt="<%= article.title %>" /> <% end %> </div> <div class="article_header"> <h1><%= link_to article.title, article_path(article) %></h1> <h2><%= article.sub_title %></h2> <div class="author_name"><span>by</span> <%= display_article_authors(article) %></div> </div> <div class="article_teaser"> <%= render_teaser(article, article_counter) %> <div class="more-link"> <%= link_to "Read full article", article_path(article) %> </div> </div> <div class="article_content"> <%= markdown article.content %> <% if article.document? %> <div class="article_document"> <%= link_to "Download #{article.document.file.filename}", article.document_url %> </div> <% end %> </div> <% unless article.gplus_url.blank? %> <div class="article_googleplus"> <a href="<%= article.gplus_url %>"><span></span>Discuss this article at Google+</a> </div> <% end %> <div class="article_footer"> Written on <span class="published_at"><%= article.published_at.to_date %></span> by <%= display_article_authors(article, true) %> </div> <% end %> </div>
Version data entries
8 entries across 8 versions & 1 rubygems