- {% endif %}
{{ post.title | truncatewords: 4}}
-{{ post.excerpt | markdownify | truncate: 75 }}
+{% if post.excerpt != null %}{{ post.excerpt | markdownify | truncate: 75 }}{% endif %}
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.tag}}
+{{ post.subcategory }}