summaryrefslogtreecommitdiffstats
path: root/source/_includes/asides
diff options
context:
space:
mode:
Diffstat (limited to 'source/_includes/asides')
-rw-r--r--source/_includes/asides/recent_posts.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/source/_includes/asides/recent_posts.html b/source/_includes/asides/recent_posts.html
new file mode 100644
index 0000000..0a73593
--- /dev/null
+++ b/source/_includes/asides/recent_posts.html
@@ -0,0 +1,8 @@
+<div class="widget">
+ <h3>Recent Posts</h3>
+ <ul>
+ {% for post in site.posts limit: site.recent_posts %}
+ <li><a href="{{ root_url }}{{ post.url }}">{{ post.title }}</a></li>
+ {% endfor %}
+ </ul>
+</div>