Sha256: 59c35a4a9baf345c9a9f1cae0309e1533f4cd124658f2f588cbc1795b90df97f

Contents?: true

Size: 734 Bytes

Versions: 1

Compression:

Stored size: 734 Bytes

Contents

<!doctype html>
<html>
  <head>
    <meta charset="utf-8" />
    <meta http-equiv='X-UA-Compatible' content='IE=edge;chrome=1' />
  </head>
  <body>
    
    <div id="main" role="main">
      <% if is_blog_article? %>
        <% content_for :blog_article, yield %>
        <%= partial blog.article_template %>
      <% else %>
        <%= yield %>
      <% end %>
    </div>
    
    <aside>
      <h2>
        Recent Articles
        <a href="/archives">Archive</a>
      </h2>
      <ol>
        <% data.blog.articles[0...10].each do |article| %>
          <li><a href="<%= article.url %>"><%= article.title %></a> <span><%= article.date.strftime('%b %e') %></span></li>
        <% end %>
      </li>
    </aside>
  </body>
</html>

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
middleman-blog-3.0.0.beta.3 fixtures/utf8ouch/source/layout.erb