From 2720d869d9ee4b9c2d2d6d7c7124ec75fe9a7843 Mon Sep 17 00:00:00 2001 From: Asutosh Palai Date: Sun, 19 Jun 2016 19:13:14 +0530 Subject: [PATCH] Added categories pages --- _data/categories.yaml | 2 ++ _includes/navbar.html | 6 +++--- category/acads/index.html | 3 +++ category/almostfamous/index.html | 3 +++ category/archives/index.html | 3 +++ category/bigstory/index.html | 3 +++ category/career/index.html | 3 +++ category/columns/index.html | 3 +++ category/coverstory/index.html | 3 +++ category/cultural/index.html | 3 +++ category/guestcomentary/index.html | 3 +++ category/news/index.html | 3 +++ category/sac/index.html | 3 +++ category/sports/index.html | 3 +++ category/tech/index.html | 3 +++ category/verbatim/index.html | 3 +++ css/base.scss | 1 + 17 files changed, 48 insertions(+), 3 deletions(-) create mode 100644 category/acads/index.html create mode 100644 category/almostfamous/index.html create mode 100644 category/archives/index.html create mode 100644 category/bigstory/index.html create mode 100644 category/career/index.html create mode 100644 category/columns/index.html create mode 100644 category/coverstory/index.html create mode 100644 category/cultural/index.html create mode 100644 category/guestcomentary/index.html create mode 100644 category/news/index.html create mode 100644 category/sac/index.html create mode 100644 category/sports/index.html create mode 100644 category/tech/index.html create mode 100644 category/verbatim/index.html diff --git a/_data/categories.yaml b/_data/categories.yaml index 46306c9..d836bfe 100644 --- a/_data/categories.yaml +++ b/_data/categories.yaml @@ -14,6 +14,8 @@ - editorial - almostfamous - guestcomentary +- name: verbatim + subcategories: - name: career subcategories: - name: archives diff --git a/_includes/navbar.html b/_includes/navbar.html index ef22d68..4c0bccc 100644 --- a/_includes/navbar.html +++ b/_includes/navbar.html @@ -23,13 +23,13 @@ - {% else %} -
  • {{ cat.name | uppercase }}
  • + {% elsif site.categories[cat.name] != nil%} +
  • {{ cat.name | uppercase }}
  • {% endif %} {% endfor %} diff --git a/category/acads/index.html b/category/acads/index.html new file mode 100644 index 0000000..4218060 --- /dev/null +++ b/category/acads/index.html @@ -0,0 +1,3 @@ +--- +category: acads +--- diff --git a/category/almostfamous/index.html b/category/almostfamous/index.html new file mode 100644 index 0000000..4aab58f --- /dev/null +++ b/category/almostfamous/index.html @@ -0,0 +1,3 @@ +--- +category: almostfamous +--- diff --git a/category/archives/index.html b/category/archives/index.html new file mode 100644 index 0000000..6061556 --- /dev/null +++ b/category/archives/index.html @@ -0,0 +1,3 @@ +--- +category: archives +--- diff --git a/category/bigstory/index.html b/category/bigstory/index.html new file mode 100644 index 0000000..f85f0bd --- /dev/null +++ b/category/bigstory/index.html @@ -0,0 +1,3 @@ +--- +category: bigstory +--- diff --git a/category/career/index.html b/category/career/index.html new file mode 100644 index 0000000..4a2b855 --- /dev/null +++ b/category/career/index.html @@ -0,0 +1,3 @@ +--- +category: career +--- diff --git a/category/columns/index.html b/category/columns/index.html new file mode 100644 index 0000000..c97f22d --- /dev/null +++ b/category/columns/index.html @@ -0,0 +1,3 @@ +--- +category: columns +--- diff --git a/category/coverstory/index.html b/category/coverstory/index.html new file mode 100644 index 0000000..5485ee9 --- /dev/null +++ b/category/coverstory/index.html @@ -0,0 +1,3 @@ +--- +category: coverstory +--- diff --git a/category/cultural/index.html b/category/cultural/index.html new file mode 100644 index 0000000..6a3ccbc --- /dev/null +++ b/category/cultural/index.html @@ -0,0 +1,3 @@ +--- +category: cultural +--- diff --git a/category/guestcomentary/index.html b/category/guestcomentary/index.html new file mode 100644 index 0000000..c6bad92 --- /dev/null +++ b/category/guestcomentary/index.html @@ -0,0 +1,3 @@ +--- +category: guestcomentary +--- diff --git a/category/news/index.html b/category/news/index.html new file mode 100644 index 0000000..b35cfae --- /dev/null +++ b/category/news/index.html @@ -0,0 +1,3 @@ +--- +category: news +--- diff --git a/category/sac/index.html b/category/sac/index.html new file mode 100644 index 0000000..8cdac4c --- /dev/null +++ b/category/sac/index.html @@ -0,0 +1,3 @@ +--- +category: sac +--- diff --git a/category/sports/index.html b/category/sports/index.html new file mode 100644 index 0000000..76c25a2 --- /dev/null +++ b/category/sports/index.html @@ -0,0 +1,3 @@ +--- +category: sports +--- diff --git a/category/tech/index.html b/category/tech/index.html new file mode 100644 index 0000000..6c3bbef --- /dev/null +++ b/category/tech/index.html @@ -0,0 +1,3 @@ +--- +category: tech +--- diff --git a/category/verbatim/index.html b/category/verbatim/index.html new file mode 100644 index 0000000..05d5607 --- /dev/null +++ b/category/verbatim/index.html @@ -0,0 +1,3 @@ +--- +category: verbatim +--- diff --git a/css/base.scss b/css/base.scss index fafffed..57954d0 100644 --- a/css/base.scss +++ b/css/base.scss @@ -450,6 +450,7 @@ footer { z-index: 10; background: white; padding-top: 10px; + min-height: 100px; .category-post { margin-bottom: 30px;