Commit 33c8ec5c authored by Julius Volz's avatar Julius Volz

More markup cleanups/fixes.

parent cd4f6528
--- ---
title: Blog title: Blog
--- ---
<div class="col-md-9"> <div class="row">
<% sorted_articles.each do |post| %> <div class="col-md-9">
<div class="blog doc-content"> <% sorted_articles.each do |post| %>
<h1><%= link_to post[:title], post.path %></h1> <div class="blog doc-content">
<aside>Posted at: <%= get_pretty_date(post) %> by <%= post[:author_name]%></aside> <h1><%= link_to post[:title], post.path %></h1>
<article class="doc-content"> <aside>Posted at: <%= get_pretty_date(post) %> by <%= post[:author_name]%></aside>
<%= get_post_start(post) %> <article class="doc-content">
</article> <%= get_post_start(post) %>
</div> </article>
<% end %> </div>
<% 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