diff options
Diffstat (limited to 'source/_includes/sidebar.html')
-rw-r--r-- | source/_includes/sidebar.html | 4 |
1 files changed, 2 insertions, 2 deletions
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 %} + |