From 8698a276f937cb1cd6f67f7f213e2ea438500d7e Mon Sep 17 00:00:00 2001
From: Brandon Mathis <brandon@imathis.com>
Date: Mon, 30 May 2011 00:30:16 -0400
Subject: Cleaned out public from repository, updated gitignore, added syntax
 highlighting tests, improved syntax highlighting and styling of pre blocks.
 Overriding dynamic gist styling. Added a plugin for pygments caching which
 should speed things up terrifically. added ender.js as a lightweight way of
 scripting the DOM, events, etc. Some general typography and semantic html
 improvements.

---
 source/_includes/sidebar.html | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

(limited to 'source/_includes/sidebar.html')

diff --git a/source/_includes/sidebar.html b/source/_includes/sidebar.html
index c5e3bd01..03890462 100644
--- a/source/_includes/sidebar.html
+++ b/source/_includes/sidebar.html
@@ -2,14 +2,13 @@
   <h1>About Me</h1>
   <p>Hi, I'm Octopress!</p>
 </section>
-{% if site.recent_posts %}
+{% if page.single and site.recent_posts %}
 <section>
   <h1>Recent Posts</h1>
   <ul id="recent_posts">
     {% for post in site.posts limit: site.recent_posts %}
       <li class="post">
         <a href="{{ post.url }}">{{ post.title }}</a>
-        <time>{{ post.date | date: "%B %d, %Y" }}</time>
       </li>
     {% endfor %}
   </ul>
@@ -24,3 +23,4 @@
 {% if site.pinboard_user %}
   <section>{% include pinboard.html %}</section>
 {% endif %}
+
-- 
cgit v1.2.1