From 5628819535b63358d5be663accea903ceb33a6b4 Mon Sep 17 00:00:00 2001 From: Asutosh Palai Date: Mon, 26 Dec 2016 01:03:56 +0530 Subject: [PATCH] Finished article page --- _data/categories_name.yaml | 15 ++++++ _includes/header.html | 2 +- _includes/horizontal_post.html | 2 +- _includes/navbar.html | 14 +++--- _layouts/post.html | 66 +++++++++++++++---------- css/base.scss | 90 +++++++++++++++++++++++++++------- 6 files changed, 138 insertions(+), 51 deletions(-) create mode 100644 _data/categories_name.yaml diff --git a/_data/categories_name.yaml b/_data/categories_name.yaml new file mode 100644 index 0000000..1c26c2a --- /dev/null +++ b/_data/categories_name.yaml @@ -0,0 +1,15 @@ +--- +academics: Academics +cultural: Cultual +columns: Columns +coverstory: Cover Story +bigstory: Big Story +almostfamous: Almost Famous +phekingnews: Pheking News +guestcomentary: Guest Comentary +tech: Tech +career: Career +sac: SAC +editorial: Editorial +verbatim: Verbatim +sports: Sports diff --git a/_includes/header.html b/_includes/header.html index 5369385..51f21f7 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -47,7 +47,7 @@
{% if forloop.index < 3 %} diff --git a/_includes/horizontal_post.html b/_includes/horizontal_post.html index 6508286..658117e 100644 --- a/_includes/horizontal_post.html +++ b/_includes/horizontal_post.html @@ -7,7 +7,7 @@
{% if post.excerpt != null %}{{ post.excerpt | markdownify | truncate: 250 }}{% endif %}
diff --git a/_includes/navbar.html b/_includes/navbar.html index 5da7db9..99b8385 100644 --- a/_includes/navbar.html +++ b/_includes/navbar.html @@ -1,11 +1,13 @@
-
- -
-
Watch Out!
-
Official News
Body of IITR
+ +
+ +
+
Watch Out!
+
Official News
Body of IITR
+
-
+