From 36378233a4e845e69a075ae07d7ece4ce6b67f0e Mon Sep 17 00:00:00 2001 From: Asutosh Palai Date: Sun, 19 Jun 2016 00:13:05 +0530 Subject: [PATCH] Showing each post for each cat --- _data/homepage_categories.yaml | 7 +++++++ css/base.scss | 1 + index.html | 20 +++++++++----------- 3 files changed, 17 insertions(+), 11 deletions(-) create mode 100644 _data/homepage_categories.yaml diff --git a/_data/homepage_categories.yaml b/_data/homepage_categories.yaml new file mode 100644 index 0000000..3951a7b --- /dev/null +++ b/_data/homepage_categories.yaml @@ -0,0 +1,7 @@ +--- +- phekingnews +- editorial +- coverstory +- bigstory +- verbatim +- almostfamous diff --git a/css/base.scss b/css/base.scss index f9f5e0f..a4c0aed 100644 --- a/css/base.scss +++ b/css/base.scss @@ -249,6 +249,7 @@ body { top: -0.1 * $article-cover-img-height; background: $featured-articles-bg-color; width: 0.9 * $article-cover-img-width; ; + height: 120px; .tag { position: absolute; diff --git a/index.html b/index.html index 307b698..cc92b62 100644 --- a/index.html +++ b/index.html @@ -16,7 +16,7 @@ title: "Home"

{{ post.title | truncatewords: 4}}

-

{{ post.tag}}

+

{{ post.subcategory }}

@@ -28,30 +28,28 @@ title: "Home"