From 24be0ba3c2d29fd0318b427019dc7e05f3b97caa Mon Sep 17 00:00:00 2001 From: Egor Tensin Date: Sun, 27 Nov 2016 15:39:39 +0300 Subject: fix markup semantics --- _includes/common/sidebar.html | 9 ++++++--- css/common/misc.css | 8 ++++++++ index.html | 15 +++------------ 3 files changed, 17 insertions(+), 15 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 @@ -

About the project

+

About the project

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

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

Latest posts

+

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 }} + +  {{ post.date | date_to_string }} +  {{ post.title }} + {% endfor %}
{% endif %} diff --git a/css/common/misc.css b/css/common/misc.css index c6cbd9d..617aced 100644 --- a/css/common/misc.css +++ b/css/common/misc.css @@ -4,3 +4,11 @@ .wider { max-width: 600px; } +h1 a, +h2 a, +h3 a, +h4 a, +h5 a, +h6 a { + color: inherit; +} diff --git a/index.html b/index.html index 5e30871..7246de2 100644 --- a/index.html +++ b/index.html @@ -6,22 +6,13 @@ groups: navbar_link:  Main page --- {% if site.posts.size == 0 %} -

Sorry, no posts have been added yet.

+

Sorry, no posts have been added yet.


{% else %} {% for post in paginator.posts %} -

{{ post.title }}

+

{{ post.title }}

{{ post.excerpt }}

-
-
-
- Read More  -
-
-   Posted on {{ post.date | date_to_long_string }} -
-
-
+

Posted on {{ post.date | date_to_long_string }}


{% endfor %}
-- cgit v1.2.3