aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorValentin Popov <info@valentineus.link>2019-03-25 02:10:50 +0300
committerValentin Popov <info@valentineus.link>2019-03-25 02:10:50 +0300
commit040b041597ec4572b9e034a7577214835dcbbc35 (patch)
tree6c4ae4e625760b80613ee63941124b9703649068
parente7569f6ebc0bb67061a87b12f8e122172ebb2c40 (diff)
downloadpopov.link-040b041597ec4572b9e034a7577214835dcbbc35.tar.xz
popov.link-040b041597ec4572b9e034a7577214835dcbbc35.zip
Link for home page
Signed-off-by: Valentin Popov <info@valentineus.link>
-rw-r--r--_includes/navbar.html4
-rw-r--r--_pages/index.html5
2 files changed, 7 insertions, 2 deletions
diff --git a/_includes/navbar.html b/_includes/navbar.html
index f1b7f46..03a9d08 100644
--- a/_includes/navbar.html
+++ b/_includes/navbar.html
@@ -25,6 +25,10 @@
</ul>
<ul class="navigation-pills">
+ <li class="navigation-item" role="presentation">
+ <a href="/">Home</a>
+ </li>
+
{% for page in pages%}
<li class="navigation-item" role="presentation">
<a href="{{ page.url | strip_newlines | strip_html | strip | normalize_whitespace | relative_url | uri_escape }}">
diff --git a/_pages/index.html b/_pages/index.html
index 93152b9..ffc140d 100644
--- a/_pages/index.html
+++ b/_pages/index.html
@@ -1,7 +1,8 @@
---
-layout: page
+title: "Posts list"
permalink: "index.html"
-title: "Список всех постов"
+layout: page
+show: false
---
{% assign postsByYear = site.posts | group_by_exp: "post", "post.date | date: '%Y'" %}