Sha256: 834b36cbf8e38ad86b874e44473c18162540493d80f228afa540129c74030b4b

Contents?: true

Size: 608 Bytes

Versions: 1

Compression:

Stored size: 608 Bytes

Contents

<h2><%= link_to_permalink article,article.title %></h2>
<p class="auth"><%= _("Posted by")%> <%= author_link(article) %>
<%= js_distance_of_time_in_words_to_now article.published_at %></p>
<% if controller.action_name == 'show' or controller.action_name == 'index' %>
  <% if article.excerpt? %>
    <%= article.excerpt %>
  <% else %>
    <%= article.html(:body) %>
    <div class="extended">
      <p><%= link_to_permalink article, _("Continue reading...") %></p>
    </div>
  <% end %>
<% else %>
  <%= article.html(:body) %>
  <div class="extended">
    <%= article.html(:extended) %>
  </div>
<% end %>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
typo-5.4 app/views/articles/_article.html.erb