website/www: blog archives page
This commit is contained in:
parent
155ef1f06e
commit
cad42a8308
|
@ -0,0 +1,20 @@
|
|||
---
|
||||
layout: "inner"
|
||||
sidebar_current: "blog-archives"
|
||||
sidebar_template: "blog"
|
||||
sidebar_title: "Blog"
|
||||
page_title: "Blog Archive"
|
||||
---
|
||||
|
||||
<div class="Modules blog-archives">
|
||||
<h2>Blog Archive</h2>
|
||||
<ul>
|
||||
<% blog.articles.reverse.each_index do |i| %>
|
||||
<% article = blog.articles[i] %>
|
||||
<li>
|
||||
<a href="<%= article.url %>"><%= article.title %></a>
|
||||
<span class="meta date"><%= article.date.strftime('%b %e %Y') %></span>
|
||||
</li>
|
||||
<% end %>
|
||||
</ul>
|
||||
</div> <!-- blog archives -->
|
|
@ -28,7 +28,6 @@ page_title: "Blog"
|
|||
</article>
|
||||
</div>
|
||||
</div> <!-- row -->
|
||||
</article>
|
||||
<% end %>
|
||||
|
||||
</div> <!-- blog landing -->
|
||||
|
|
|
@ -1,4 +1,10 @@
|
|||
.Modules {
|
||||
&.blog-archives {
|
||||
span.meta.date {
|
||||
font-size: 12px;
|
||||
}
|
||||
}
|
||||
|
||||
&.blog-landing, &.blog-post {
|
||||
article {
|
||||
.meta {
|
||||
|
|
Loading…
Reference in New Issue