From 8236e1c0452745aebd56cbe31e85e7f4efa9c32d Mon Sep 17 00:00:00 2001 From: Shrijit Singh Date: Thu, 10 Sep 2020 03:36:17 +0530 Subject: [PATCH 1/5] Split alumini section to year wise pages --- _config.yaml | 2 + _data/alumini.yaml | 159 ++++++++++++++++++++++++++++++++++++++++++ _layouts/alumini.html | 76 ++++++++++++++++++++ team/2017.md | 6 ++ 4 files changed, 243 insertions(+) create mode 100644 _data/alumini.yaml create mode 100644 _layouts/alumini.html create mode 100644 team/2017.md diff --git a/_config.yaml b/_config.yaml index 56ca5cd..ce40b38 100644 --- a/_config.yaml +++ b/_config.yaml @@ -3,5 +3,7 @@ baseurl: "" url: "" plugins: - jekyll-redirect-from + - jekyll-regex-replace whitelist: - jekyll-redirect-from + - jekyll-regex-replace diff --git a/_data/alumini.yaml b/_data/alumini.yaml new file mode 100644 index 0000000..fc9930f --- /dev/null +++ b/_data/alumini.yaml @@ -0,0 +1,159 @@ +- name: Shrijit Singh + nickname: Shrijit Singh + designation: Tech Head + image: 12.jpeg + facebook: https://www.facebook.com/shrijitsingh99 + mail: mailto:tech_head@projectmanas.in + linkedin: https://www.linkedin.com/in/shrijit-singh-81b86a145/ + github: https://github.com/shrijitsingh99 + year: 2017 + +- name: Tanaya Mandke + nickname: Tanaya Mandke + designation: Team Manager + image: 40.jpeg + facebook: https://www.facebook.com/profile.php?id=100000862089390 + mail: mailto:Tanaya.mandke9299@gmail.com + linkedin: http://linkedin.com/in/tanaya-mandke-885b24165 + github: + year: 2017 + +- name: Shivesh Khaitan + nickname: Shivesh Khaitan + designation: AI Head + image: 45.jpeg + facebook: https://www.facebook.com/shivesh.khaitan + mail: mailto:shiveshkhaitan@gmail.com + linkedin: https://www.linkedin.com/in/shivesh-khaitan-b48225159/ + github: https://github.com/shiveshkhaitan #AI Head + year: 2017 + +- name: Rishab Agarwal + nickname: Rishab Agarwal + designation: S&A Head + image: rishab.jpg + facebook: https://www.facebook.com/Agarwal.Rishab.99 + mail: mailto:rishabgrwl121@gmail.com + linkedin: https://www.linkedin.com/in/rishab-agarwal-8a959216a + github: #SnA Head + year: 2017 + +- name: Arya Karani + nickname: Arya Karani + designation: Mech Head + image: 20.jpeg + facebook: + mail: mailto:karani.arya@gmail.com + linkedin: https://www.linkedin.com/in/surampalli-rakesh-450213160/ + github: https://github.com/rakeshsurampalli #Mech Head + year: 2017 + +- name: Dheeraj Mohan + nickname: Dheeraj Mohan + designation: AI Perception Head + image: 24.jpeg + facebook: https://facebook.com/dheeraj.McDhee + mail: mailto:dheeraj.98@outlook.com + linkedin: https://www.linkedin.com/in/dheeraj-mcdhee + github: https://www.github.com/dheeraj-coding + year: 2017 + +- name: Sarathkrishnan Ramesh + nickname: Sarathkrishnan Ramesh + designation: AI Planning Head + image: 13.jpeg + facebook: https://www.facebook.com/sarathkrishnan.ramesh + mail: mailto:sarathkrishnan99@gmail.com + linkedin: https://www.linkedin.com/in/sarathkrishnan-ramesh-0a75a315b + github: https://www.github.com/Sarath18 + year: 2017 + +- name: Shivanshu Agarwal + nickname: Shivanshu Agarwal + designation: S&A Sensing Head + image: 46.jpeg + facebook: https://w ww.facebook.com/shivanshu.agarwal.965 + mail: mailto:agarwalshivanshu00@gmail.com + linkedin: https://www.linkedin.com/in/shivansu-agarwal-53b625136 + github: https://github.com/shic15 + year: 2017 + +- name: Dasarath S + nickname: Dasarath S + designation: S&A Autoation Head + image: 23.jpeg + facebook: https://facebook.com/dasarath.selvakumar + mail: mailto:dasarathselvakumar@gmail.com + linkedin: https://www.linkedin.com/in/dasarath-s-66525b157 + github: + year: 2017 + +- name: Raunaq Kalra + nickname: Raunaq kalra + designation: Mech Mechanics Head + image: raunaq.png + facebook: https://www.facebook.com/raunaq.kalra.58 + mail: mailto:raunaqkalra99@gmail.com + linkedin: https://www.linkedin.com/in/raunaq-kalra-5a7384151/ + github: + year: 2017 + +- name: Rakshit Jain + nickname: Rakshit Jain + designation: Mech Design Head + image: rakshit.png + facebook: https://www.facebook.com/rakshit.jain.378 + mail: mailto:rakshitjain003@gmail.com + linkedin: + github: + year: 2017 + +- name: Siddarth Venkatraman + nickname: Siddarth Venkatraman + designation: AI Planning Member + image: 43.jpeg + facebook: + mail: mailto:siddarthegreat@gmail.com + linkedin: + github: https://github.com/HyperPotatoNeo + year: 2017 + +- name: Ansel Dias + nickname: Ansel Dias + designation: S&A Sensing Member + image: 17.jpeg + facebook: https://www.facebook.com/profile.php?id=100010693602083&ref=br_rs + mail: mailto:thegreatanseldias@gmail.com + linkedin: https://www.linkedin.com/in/ansel-dias-a7993215b/ + github: + year: 2017 + +- name: Omkar Jhadav + nickname: Omkar Jhadav + designation: S&A Sensing Member + image: 31.jpeg + facebook: + mail: mailto:jadhavomkar37.oj@gmail.com + linkedin: + github: + year: 2017 + +- name: Manav Sachdeva + nickname: Manav Sachdeva + designation: Mech Design Member + image: 29.jpeg + facebook: + mail: mailto:sachdevamanav03@gmal.com + linkedin: + github: + year: 2017 + +- name: Gaurav Thakur + nickname: Gaurav Thakur + designation: Mech Mechanics Member + image: gaurav.png + facebook: https://www.facebook.com/papadopoulos69 + mail: mailto:gthakur2907@gmail.com + linkedin: https://www.linkedin.com/in/gaurav-singh-thakhr-74a01a16b + github: + year: 2017 \ No newline at end of file diff --git a/_layouts/alumini.html b/_layouts/alumini.html new file mode 100644 index 0000000..5821721 --- /dev/null +++ b/_layouts/alumini.html @@ -0,0 +1,76 @@ + + + + + {% include header.html %} + + + + + {% include navigation.html %} + + +
+ + +
+
+
+

Team of + {{ page.name | regex_replace: '.md', '' }} +

+
+
+
+ {% for member in site.data.alumini %} + {% if member.year == page.year %} +
+
+ {% unless member.image == nil %} +
+
+ {% endunless %} +
+ {% unless member.facebook == nil %} + + + + {% endunless %} + {% unless member.mail == nil %} + + + + {% endunless %} + {% unless member.linkedin == nil %} + + + + {% endunless %} + {% unless member.github == nil %} + + + + {% endunless %} +
+
+
+ {{ member.name }} +
+

{{ member.designation }}

+
+
+
+ {% endif %} + {% endfor %} +
+
+
+
+ +
+ {% include footer.html %} + + +{% include script.html %} + + \ No newline at end of file diff --git a/team/2017.md b/team/2017.md new file mode 100644 index 0000000..99015de --- /dev/null +++ b/team/2017.md @@ -0,0 +1,6 @@ +--- +title: 2017 Team +layout: alumini +permalink: /team/2017 +year: 2017 +--- From 343aae3120d08466784e6c722fa1569053bfa873 Mon Sep 17 00:00:00 2001 From: Shrijit Singh Date: Thu, 10 Sep 2020 03:51:49 +0530 Subject: [PATCH 2/5] Set baseurl for demo on github pages NOTE: Remove commit before PR merge --- _config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/_config.yaml b/_config.yaml index ce40b38..9dc9f67 100644 --- a/_config.yaml +++ b/_config.yaml @@ -1,5 +1,5 @@ name: Project MANAS -baseurl: "" +baseurl: /projectmanas.in url: "" plugins: - jekyll-redirect-from From b80870766e4c7a5e40f63070fde63be5f1be1c32 Mon Sep 17 00:00:00 2001 From: Shrijit Singh Date: Thu, 10 Sep 2020 04:04:49 +0530 Subject: [PATCH 3/5] Append baseurl to team member images --- _layouts/alumini.html | 2 +- _layouts/team.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/_layouts/alumini.html b/_layouts/alumini.html index 5821721..59056a1 100644 --- a/_layouts/alumini.html +++ b/_layouts/alumini.html @@ -27,7 +27,7 @@

Team of
{% unless member.image == nil %} -
+
{% endunless %}
diff --git a/_layouts/team.html b/_layouts/team.html index 0b281be..89c4aef 100644 --- a/_layouts/team.html +++ b/_layouts/team.html @@ -26,7 +26,7 @@

Our
{% unless member.image == nil %} -
+
{% endunless %}
From c489b9c59b0955470fd9f3778811f9e6c8ae7a71 Mon Sep 17 00:00:00 2001 From: Shrijit Singh Date: Thu, 10 Sep 2020 04:24:11 +0530 Subject: [PATCH 4/5] Update all urls to be relative to the set basurl --- _includes/header.html | 8 +++---- _includes/navigation.html | 22 +++++++++--------- _includes/script.html | 10 ++++---- _layouts/index.html | 48 +++++++++++++++++++-------------------- 4 files changed, 43 insertions(+), 45 deletions(-) diff --git a/_includes/header.html b/_includes/header.html index fa48293..f005415 100644 --- a/_includes/header.html +++ b/_includes/header.html @@ -17,10 +17,10 @@ - - - - + + + + diff --git a/_includes/navigation.html b/_includes/navigation.html index 14e3cd2..fade6f6 100644 --- a/_includes/navigation.html +++ b/_includes/navigation.html @@ -2,8 +2,8 @@