From 7f02962f5502bb581f0b50d534be0bcea0a739b2 Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sat, 25 Jun 2016 02:13:47 +0300 Subject: move common assets to common/, more info to config --- _includes/common/sidebar.html | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 _includes/common/sidebar.html (limited to '_includes/common/sidebar.html') diff --git a/_includes/common/sidebar.html b/_includes/common/sidebar.html new file mode 100644 index 0000000..4637244 --- /dev/null +++ b/_includes/common/sidebar.html @@ -0,0 +1,16 @@ +

About the project

+

{{ site.project.description }}. Feel free to contribute or contact me.

+
+  GitHub repository +  {{ site.personal_info.email }} +
+

Latest posts

+{% if site.posts.size == 0 %} +

Sorry, there're no posts yet.

+{% else %} +
+ {% for post in site.posts limit: 5 %} +  {{ post.date | date_to_string }} {{ post.title }} + {% endfor %} +
+{% endif %} -- cgit v1.2.3