aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/_includes/common/sidebar.html
diff options
context:
space:
mode:
authorEgor Tensin <Egor.Tensin@gmail.com>2016-11-27 15:39:39 +0300
committerEgor Tensin <Egor.Tensin@gmail.com>2016-11-27 15:39:39 +0300
commit24be0ba3c2d29fd0318b427019dc7e05f3b97caa (patch)
tree95290939b50922df869d78ec7bd86819bf7238d7 /_includes/common/sidebar.html
parentadjust Gemfiles for Cygwin (diff)
downloadjekyll-theme-24be0ba3c2d29fd0318b427019dc7e05f3b97caa.tar.gz
jekyll-theme-24be0ba3c2d29fd0318b427019dc7e05f3b97caa.zip
fix markup semantics
Diffstat (limited to '_includes/common/sidebar.html')
-rw-r--r--_includes/common/sidebar.html9
1 files changed, 6 insertions, 3 deletions
diff --git a/_includes/common/sidebar.html b/_includes/common/sidebar.html
index 4637244..51c835e 100644
--- a/_includes/common/sidebar.html
+++ b/_includes/common/sidebar.html
@@ -1,16 +1,19 @@
-<h4>About the project</h4>
+<h2 class="h4">About the project</h2>
<p>{{ site.project.description }}. Feel free to contribute or contact me.</p>
<div class="list-group wide-enough">
<a class="list-group-item" href="{{ site.github.repository_url }}"><span class="glyphicon glyphicon-home"></span>&nbsp;GitHub repository</a>
<a class="list-group-item" href="mailto:{{ site.personal_info.email }}"><span class="glyphicon glyphicon-envelope"></span>&nbsp;{{ site.personal_info.email }}</a>
</div>
-<h4>Latest posts</h4>
+<h2 class="h4">Latest posts</h2>
{% if site.posts.size == 0 %}
<p>Sorry, there're no posts yet.</p>
{% else %}
<div class="list-group wide-enough">
{% for post in site.posts limit: 5 %}
- <a class="list-group-item" href="{{ site.baseurl }}{{ post.url }}"><span class="badge"><span class="glyphicon glyphicon-time"></span>&nbsp;{{ post.date | date_to_string }}</span><span class="glyphicon glyphicon-file"></span>&nbsp;{{ post.title }}</a>
+ <a class="list-group-item" href="{{ site.baseurl }}{{ post.url }}">
+ <span class="badge"><span class="glyphicon glyphicon-time"></span>&nbsp;{{ post.date | date_to_string }}</span>
+ <span class="glyphicon glyphicon-file"></span>&nbsp;{{ post.title }}
+ </a>
{% endfor %}
</div>
{% endif %}