diff --git a/_includes/head.html b/_includes/head.html
index 8b7c57f..6f2762a 100755
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -6,21 +6,20 @@
{% endif %}
-
-
-
-
- {% assign fourofour = "/404.html"%}
- {% if page.url == {{fourofour}} | prepend: {{site.baseurl}} %}
+
+
+
+
+ {% if page.url == "/404.html" | prepend: {{site.baseurl}} %}
{% endif %}
-
{{ site.title }} {% if page.title %} | {{ page.title }}{% endif %}
+ {{site.title}} {% if page.title %} | {{page.title}}{% endif %}
@@ -43,7 +42,7 @@
{% if site.favicon %}
-
+
{% endif %}
diff --git a/_includes/latest-post.html b/_includes/latest-post.html
index b71f584..8799f17 100644
--- a/_includes/latest-post.html
+++ b/_includes/latest-post.html
@@ -16,7 +16,7 @@
{{ post.content | truncatewords: site.post-preview-words | strip_html | markdownify }}
- View more posts
+ View more posts
diff --git a/_includes/navigation.html b/_includes/navigation.html
index 943fa72..c37757f 100755
--- a/_includes/navigation.html
+++ b/_includes/navigation.html
@@ -26,19 +26,22 @@
{% for p in site.pages_list %}
- {{ p[0] }}
+ {{p[0]}}
{% endfor %}
{% else %}
-
+
{% for p in site.pages_list %}
- {% comment %} If are blog, redirect to index.html of Blog {% endcomment %}
{% if p[1] == "latest-post" %}
- {{ p[0] }}
+ {% if page.url == "/blog/" | prepend: {{site.baseurl}} %}
+ {{p[0]}}
+ {% else %}
+ {{p[0]}}
+ {% endif %}
{% else %}
- {{ p[0] }}
+ {{p[0]}}
{% endif %}
{% endfor %}
diff --git a/_includes/pagination.html b/_includes/pagination.html
index 37247ed..f1de47a 100644
--- a/_includes/pagination.html
+++ b/_includes/pagination.html
@@ -6,7 +6,7 @@
{% if paginator.previous_page %}
- Newer Posts
+ Newer Posts
{% endif %}
{% if paginator.previous_page and paginator.next_page %}
@@ -14,7 +14,7 @@
{% endif %}
{% if paginator.next_page %}
- Older Posts
+ Older Posts
{% endif %}
diff --git a/_layouts/index.html b/_layouts/index.html
index 39fb4a6..1771d74 100755
--- a/_layouts/index.html
+++ b/_layouts/index.html
@@ -14,7 +14,7 @@
{% for p in site.pages_list %}
{% for page in site.pages %}
- {% if p[1] == page.section-type%}
+ {% if p[1] == page.section-type %}
{% include {{ page.path }} %}
{% endif %}
{% endfor %}
diff --git a/_layouts/tag.html b/_layouts/tag.html
index af33d9d..11662d6 100644
--- a/_layouts/tag.html
+++ b/_layouts/tag.html
@@ -24,7 +24,7 @@
{% for post in site.posts %}
{% if post.tags contains tag %}
-
{{ post.date | date_to_string }} . {{ post.category }} . {{ post.title }} Comments
+
{{ post.date | date_to_string }} . {{ post.category }} . {{ post.title }} Comments
{% endif %}
{% endfor %}