From b2c5cf1ae379e8c29cbf1250a8b4eec7577a00fb Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Thu, 1 Dec 2016 22:21:20 +0300 Subject: make the sidebar two-column --- _includes/common/sidebar.html | 42 ++++++++++++++++++++++++------------------ 1 file changed, 24 insertions(+), 18 deletions(-) diff --git a/_includes/common/sidebar.html b/_includes/common/sidebar.html index 51c835e..a4b145d 100644 --- a/_includes/common/sidebar.html +++ b/_includes/common/sidebar.html @@ -1,19 +1,25 @@ -

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 %} +
+
+

About the project

+

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

+ +
+
+

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 %}
-{% endif %} +
-- cgit v1.2.3