Sha256: 5143c3bcb760e66e6e707f7af8b64867725d66ce831e7a51435151d2f76b4e41
Contents?: true
Size: 1.53 KB
Versions: 1
Compression:
Stored size: 1.53 KB
Contents
<div class="atomentry" id="article-<%= article.id %>"> <h2 class="title"> <%= (controller.action_name.include? 'permalink') ? article.title : link_to_permalink(article,article.title) %> <%= content_tag(:span, article.published_comments.size, :class => 'comment_count') if article.published_comments.size > 0 %> </h2> <p class="author"> <%= _("Posted by")%> <cite><%= author_link(article) %></cite> <abbr class="published" title="<%= article.published_at.xmlschema %>"><%= js_distance_of_time_in_words_to_now article.published_at %></abbr> </p> <div class="content"> <%= simple_format article.html(:body) %> <% if article.extended? -%> <div class="extended"> <% if controller.action_name == 'index' -%> <p><%= link_to_permalink article, _("Continue reading...") %></p> <% else -%> <%= simple_format article.html(:extended) %> <% end -%> </div> <% end -%> </div> <ul class="meta"> <%= content_tag(:li, category_links(article), :class => 'categories') unless article.categories.empty? %> <%= content_tag(:li, tag_links(article), :class => 'tags') unless article.tags.empty? %> <li><%= _("Meta") %> <%= trackbacks_link(article) << ',' if article.allow_pings? %> <%= comments_link(article) << ',' if article.allow_comments? %> <a href="<%= article.permalink_url %>" rel="bookmark"><%=_("permalink")%></a>, <a href="<%= @auto_discovery_url_rss %>">rss</a>, <a href="<%= @auto_discovery_url_atom %>">atom</a> </li> </ul> </div>
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
typo-5.2 | themes/scribbish/views/articles/_article.html.erb |