Commit 18558f61 authored by Tobias Schmidt's avatar Tobias Schmidt

Merge pull request #407 from prometheus/markup-fixes

More markup cleanups/fixes.
parents cd4f6528 33c8ec5c
---
title: Blog
---
<div class="col-md-9">
<% sorted_articles.each do |post| %>
<div class="blog doc-content">
<h1><%= link_to post[:title], post.path %></h1>
<aside>Posted at: <%= get_pretty_date(post) %> by <%= post[:author_name]%></aside>
<article class="doc-content">
<%= get_post_start(post) %>
</article>
</div>
<% end %>
<div class="row">
<div class="col-md-9">
<% sorted_articles.each do |post| %>
<div class="blog doc-content">
<h1><%= link_to post[:title], post.path %></h1>
<aside>Posted at: <%= get_pretty_date(post) %> by <%= post[:author_name]%></aside>
<article class="doc-content">
<%= get_post_start(post) %>
</article>
</div>
<% end %>
</div>
<%= render 'blog_sidebar' %>
</div>
<%= render 'blog_sidebar' %>
<% render 'default' do %>
<div class="row">
<div class="col-md-9 blog doc-content">
<h1><%= item[:title] %></h1>
<aside>Posted at: <%= get_pretty_date(item) %> by <%= item[:author_name]%></aside>
......@@ -22,4 +23,5 @@
</div>
<%= render 'blog_sidebar' %>
</div>
<% end %>
<div class="col-md-3 side-nav-col">
<ul class="nav navbar-nav side-nav">
<li class="active">
<li>
<span class="nav-header">Blog posts</span>
<ul class="nav active">
<% sorted_articles.each do |post| %>
<li><%= link_to post[:title], post.path %></li>
<% end %>
</ul>
</ul>
</li>
</ul>
</div>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment