Sha256: 28bd1071a76355a667428d997d6b3b6adb68078f69a73735305050567f43516e

Contents?: true

Size: 630 Bytes

Versions: 4

Compression:

Stored size: 630 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>
<% unless controller.action_name == 'redirect' %>
  <% if article.excerpt? %>
    <%= article.excerpt %>
  <% else %>
    <%= article.html(:body) %>
    <% if article.extended? %>
      <div class="extended">
        <p><%= link_to_permalink article, _("Continue reading...") %></p>
      </div>
    <% end %>
  <% end %>
<% else %>
  <%= article.html(:body) %>
  <div class="extended">
    <%= article.html(:extended) %>
  </div>
<% end %>

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
typo-5.4.4 app/views/articles/_article.html.erb
typo-5.4.3 app/views/articles/_article.html.erb
typo-5.4.2 app/views/articles/_article.html.erb
typo-5.4.1 app/views/articles/_article.html.erb