{{ post.title | truncatewords: 4}}
-{{ post.category }}
-diff --git a/_data/homepage_categories.yaml b/_data/homepage_categories.yaml index 3951a7b..a6c9425 100644 --- a/_data/homepage_categories.yaml +++ b/_data/homepage_categories.yaml @@ -1,7 +1,14 @@ --- -- phekingnews -- editorial -- coverstory +featured_articles: - bigstory -- verbatim +- editorial - almostfamous +- phekingnews +- verbatim +- tech + +new_articles: +- academics +- sac +- career +- cultural diff --git a/_includes/header.html b/_includes/header.html index 0e5eb68..583adbe 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -1,4 +1,4 @@ -{% assign post = site.posts.first %} +{% assign post = site.categories['coverstory'].first %} {% if page.is_post == true %} {% assign post = page %} {% endif %} diff --git a/_includes/navbar.html b/_includes/navbar.html index 41e8feb..0228ec4 100644 --- a/_includes/navbar.html +++ b/_includes/navbar.html @@ -19,17 +19,17 @@ {% for cat in site.data.categories %} {% if cat.subcategories != nil %}
{% if post.excerpt != null %}{{ post.excerpt | markdownify | truncate: 75 }}{% endif %}