diff options
author | Soumith Chintala <soumith@fb.com> | 2015-09-08 00:54:03 +0300 |
---|---|---|
committer | Soumith Chintala <soumith@fb.com> | 2015-09-08 00:54:03 +0300 |
commit | 73dc847bf3eabe8df3db56a4245149c6720e5ef9 (patch) | |
tree | fb2cb0f34c6108e605e0daf1c8df24d2564213a5 /_includes | |
parent | ca14391581142ba9a290c0ef0659bf22d0e86cef (diff) |
cleanup homepage
Diffstat (limited to '_includes')
-rw-r--r-- | _includes/nav_blog.html | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/_includes/nav_blog.html b/_includes/nav_blog.html index 356f94d..309d1d0 100644 --- a/_includes/nav_blog.html +++ b/_includes/nav_blog.html @@ -1,11 +1,14 @@ <div class="nav-docs nav-blog"> <div class="nav-docs-section"> - <h3>Recent posts</h3> <ul> - {% for post in site.posts limit:10 %} - <li><a href="{{ post.url }}"{% if page.title == post.title %} class="active"{% endif %}>{{ post.title }}</a></li> + {% for post in site.posts %} + <li> + <span class="post-date">{{ post.date | date: "%b %-d, %Y" }}</span> + <a class="post-link" href="{{ post.url | prepend: site.baseurl }}">{{ post.title }}</a> + <br> + {{ post.excerpt }} + </li> {% endfor %} - <li><a href="/blog/all.html">All posts ...</a></li> </ul> </div> </div> |