123456789101112131415161718 |
- <h1>skribaĵoj</h1>
- <% sorted_articles[0,8].each do |post| %>
- <article>
- <h2><a href="<%= post.path %>"><%= post[:title] %></a></h2>
- <time class="published"><%= post[:created_at] %></time><%
- excerpt_separator = post[:excerpt_separator]
- if excerpt_separator.nil?
- excerpt_separator = "\n\n"
- end
- excerpt = post.compiled_content.partition(excerpt_separator).first
- %><%= excerpt %><%
- if excerpt!=post.compiled_content %>
- <a href="<%= post.path %>" class="readmore">Legi plu...</a>
- <% end %></article>
- <% end %>
- <p class="archive"><a href="/arkivo">Arkivo de skribaĵoj</a></p>
|