Report abuse

<% article  = sorted_articles.first %>

<div class="section">
  <h2>The Stoneship Journal</h2>

  <div class="section">
    <h3>Latest article: <%= article[:title] %></h3>

    <p class="byline">
      Written <%= article[:created_at].format_nicely %>.
      Tags: <%= tags(article).empty? ? 'none' : tags(article).join(', ') %>. 
      <a rel="bookmark" href="<%= article[:path] %>" title="Permanent link to this article">#</a>
    </p>

    <p><%= article[:excerpt] %></p>

    <p><a rel="bookmark" href="<%= article[:path] %>" title="Permanent link to this article">Read more</a></p>
  </div>

  <div class="section">
    <h3>Older Journal Entries</h3>

    <ul class="articles">
<% sorted_articles[1..-1].first(5).each do |article| %>
      <li>
        <a rel="bookmark" href="<%= article[:path] %>" title="Permanent link to this article"><%= article[:title] %></a>:
        <%= article[:oneliner] %> (<%= article[:created_at].mon.to_abbr_mon_s %> <%= article[:created_at].mday %>)
      </li>
<% end %>
    </ul>
  </div>
</div>

<div class="section">
  <h2>Project Spotlight</h2>

  <div class="section">
    <h3>nanoc</h3>
    <div class="banner"><a href="/software/nanoc/"><img src="/media/images/banners/nanoc-off.png" alt="nanoc" id="banner-nanoc"></a></div>
    <p><a href="/software/nanoc/">nanoc</a> is a content management system written in Ruby. It doesn't run on your server: it runs on your local computer and compiles source files into HTML (or anything else) ready for uploading.</p>
  </div>

  <div class="section">
    <h3>Alurio</h3>
    <div class="banner"><a href="http://alurio.org/"><img src="/media/images/banners/alurio-off.png" alt="Alurio" id="banner-alurio"></a></div>
    <p><a href="http://alurio.org/">Alurio</a> is a chat system designed to be powerful and easy to use at the same time. I may have been working on it for a very long time, but I'm not giving up.</p>
  </div>
</div>