From ce5db590cac665abf73d32dfcd47da006e9920d0 Mon Sep 17 00:00:00 2001 From: Valentin Popov Date: Wed, 18 Apr 2018 03:45:55 +0400 Subject: Home page --- _pages/blog.html | 26 -------------------------- _pages/index.html | 28 +++++++++++++++------------- 2 files changed, 15 insertions(+), 39 deletions(-) delete mode 100644 _pages/blog.html diff --git a/_pages/blog.html b/_pages/blog.html deleted file mode 100644 index 5f32994..0000000 --- a/_pages/blog.html +++ /dev/null @@ -1,26 +0,0 @@ ---- -permalink: "posts.html" -layout: default -title: "Posts" -show: true ---- - -
-

{{ page.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}

- - -
diff --git a/_pages/index.html b/_pages/index.html index c610388..bfc4958 100644 --- a/_pages/index.html +++ b/_pages/index.html @@ -1,18 +1,20 @@ --- permalink: "index.html" -layout: default +layout: page --- -
-
-

{{ site.author.name | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}

-

{{ site.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify }}

-
    - {% for item in site.social_links %} - {% assign title = item[0] | strip_newlines | strip_html | strip | normalize_whitespace | smartify %} - {% assign link = item[1] | strip_newlines | strip_html | strip | uri_escape %} -
  • {{ title }}
  • - {% endfor %} -
+{% for post in site.posts %} +
+

+ + {{ post.title | strip_newlines | strip_html | strip | normalize_whitespace | smartify }} + +

+ {% if post.description %} +

+ {{ post.description | strip_newlines | strip_html | strip | normalize_whitespace | smartify }} +

+ {% endif %} +
-
+{% endfor %} -- cgit v1.2.3