Sha256: 7cb971b2474e2d86ac75b70309d35d20ae64bc76b1eac4a39e5e5a829acdfeae

Contents?: true

Size: 743 Bytes

Versions: 20

Compression:

Stored size: 743 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 settings.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

20 entries across 20 versions & 2 rubygems

Version Path
middleman-blog-0.1.5 lib/middleman-blog/template/source/layout.erb
middleman-blog-0.1.4 lib/middleman-blog/template/source/layout.erb
middleman-blog-0.1.3 lib/middleman-blog/template/source/layout.erb
middleman-blog-0.1.2 lib/middleman-blog/template/source/layout.erb
middleman-blog-0.1.0 lib/middleman-blog/template/source/layout.erb
middleman-2.0.2 lib/middleman/templates/blog/source/layout.erb
middleman-2.0.1.1 lib/middleman/templates/blog/source/layout.erb
middleman-2.0.1 lib/middleman/templates/blog/source/layout.erb
middleman-2.0.0.3 lib/middleman/templates/blog/source/layout.erb
middleman-2.0.0.2 lib/middleman/templates/blog/source/layout.erb
middleman-2.0.0.1 lib/middleman/templates/blog/source/layout.erb
middleman-2.0.0 lib/middleman/templates/blog/source/layout.erb
middleman-2.0.0.rc99 lib/middleman/templates/blog/source/layout.erb
middleman-2.0.0.rc98 lib/middleman/templates/blog/source/layout.erb
middleman-2.0.0.rc97 lib/middleman/templates/blog/source/layout.erb
middleman-2.0.0.rc96 lib/middleman/templates/blog/source/layout.erb
middleman-2.0.0.rc95 lib/middleman/templates/blog/source/layout.erb
middleman-2.0.0.rc93 lib/middleman/templates/blog/source/layout.erb
middleman-2.0.0.rc92 lib/middleman/templates/blog/source/layout.erb
middleman-2.0.0.rc91 lib/middleman/templates/blog/source/layout.erb