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 title: Blog
--- ---
<div class="col-md-9"> <div class="row">
<div class="col-md-9">
<% sorted_articles.each do |post| %> <% sorted_articles.each do |post| %>
<div class="blog doc-content"> <div class="blog doc-content">
<h1><%= link_to post[:title], post.path %></h1> <h1><%= link_to post[:title], post.path %></h1>
...@@ -11,5 +12,6 @@ title: Blog ...@@ -11,5 +12,6 @@ title: Blog
</article> </article>
</div> </div>
<% end %> <% end %>
</div>
<%= render 'blog_sidebar' %>
</div> </div>
<%= render 'blog_sidebar' %>
<% render 'default' do %> <% render 'default' do %>
<div class="row">
<div class="col-md-9 blog doc-content"> <div class="col-md-9 blog doc-content">
<h1><%= item[:title] %></h1> <h1><%= item[:title] %></h1>
<aside>Posted at: <%= get_pretty_date(item) %> by <%= item[:author_name]%></aside> <aside>Posted at: <%= get_pretty_date(item) %> by <%= item[:author_name]%></aside>
...@@ -22,4 +23,5 @@ ...@@ -22,4 +23,5 @@
</div> </div>
<%= render 'blog_sidebar' %> <%= render 'blog_sidebar' %>
</div>
<% end %> <% end %>
<div class="col-md-3 side-nav-col"> <div class="col-md-3 side-nav-col">
<ul class="nav navbar-nav side-nav"> <ul class="nav navbar-nav side-nav">
<li class="active"> <li>
<span class="nav-header">Blog posts</span> <span class="nav-header">Blog posts</span>
<ul class="nav active"> <ul class="nav active">
<% sorted_articles.each do |post| %> <% sorted_articles.each do |post| %>
<li><%= link_to post[:title], post.path %></li> <li><%= link_to post[:title], post.path %></li>
<% end %> <% end %>
</ul> </ul>
</li>
</ul> </ul>
</div> </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