From 420eff63ed342e48d931af606eacac99e47c1540 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Baha=20Bayrak=C3=A7=C4=B1o=C4=9Flu?= Date: Thu, 24 Apr 2025 18:43:40 +0000 Subject: [PATCH 1/3] Update people cards --- .devcontainer/Dockerfile | 4 +- data/bouncmpe/people/akarun-lale.json | 5 +- data/bouncmpe/people/alagoz-fatih.json | 5 +- data/bouncmpe/people/baytas-inci.json | 6 +- data/bouncmpe/people/ersoy-cem.json | 6 +- data/bouncmpe/people/gokberk-berk.json | 6 +- data/bouncmpe/people/gungor-tunga.json | 6 +- data/bouncmpe/people/ulus-dogan.json | 8 ++- layouts/shortcodes/people.html | 81 ++++++++++++++++---------- 9 files changed, 88 insertions(+), 39 deletions(-) diff --git a/.devcontainer/Dockerfile b/.devcontainer/Dockerfile index b441873..ced8f73 100644 --- a/.devcontainer/Dockerfile +++ b/.devcontainer/Dockerfile @@ -1,4 +1,4 @@ -FROM ghcr.io/peaceiris/hugo:latest-full +FROM ghcr.io/peaceiris/hugo:v0.141.0-full ENV PIP_BREAK_SYSTEM_PACKAGES=1 @@ -24,4 +24,4 @@ WORKDIR /home/bouncmpe RUN python3 -m pip install --upgrade pip RUN python3 -m pip install pre-commit -ENV PATH=/home/bouncmpe/.local/bin:$PATH +ENV PATH=/home/bouncmpe/.local/bin:$PATH \ No newline at end of file diff --git a/data/bouncmpe/people/akarun-lale.json b/data/bouncmpe/people/akarun-lale.json index 2a3a074..00ebdac 100644 --- a/data/bouncmpe/people/akarun-lale.json +++ b/data/bouncmpe/people/akarun-lale.json @@ -5,5 +5,8 @@ "position": "full-professor", "tags": ["faculty", "cmpe460","former-cmpe322", "former-cmpe344", "advisor-3","former-cmpe362", "computervisionpatternrecognition"], "type": "person", - "thumbnail": "images/people/akarun_lale.jpg" + "thumbnail": "images/people/akarun_lale.jpg", + "research_areas": { + "CVPR": "computer-vision-pattern-recognition" + } } diff --git a/data/bouncmpe/people/alagoz-fatih.json b/data/bouncmpe/people/alagoz-fatih.json index 25d1f04..34fbbcf 100644 --- a/data/bouncmpe/people/alagoz-fatih.json +++ b/data/bouncmpe/people/alagoz-fatih.json @@ -5,5 +5,8 @@ "position": "full-professor", "tags": ["faculty", "training", "cmpe362", "former-cmpe300", "networkinginternetarchitecture"], "type": "person", - "thumbnail": "images/people/alagoz_fatih.jpg" + "thumbnail": "images/people/alagoz_fatih.jpg", + "research_areas": { + "NIA": "networking-internet-architecture" + } } diff --git a/data/bouncmpe/people/baytas-inci.json b/data/bouncmpe/people/baytas-inci.json index 6ffc936..bac3900 100644 --- a/data/bouncmpe/people/baytas-inci.json +++ b/data/bouncmpe/people/baytas-inci.json @@ -5,5 +5,9 @@ "position": "assistant-professor", "tags": ["faculty", "vicechair", "cmpe343", "cmpe462", "advisor-4", "bioinformatics", "machinelearning"], "type": "person", - "thumbnail": "images/people/baytas_inci.jpg" + "thumbnail": "images/people/baytas_inci.jpg", + "research_areas": { + "BIO": "bioinformatics", + "ML": "machine-learning" + } } diff --git a/data/bouncmpe/people/ersoy-cem.json b/data/bouncmpe/people/ersoy-cem.json index d1e681e..01003d0 100644 --- a/data/bouncmpe/people/ersoy-cem.json +++ b/data/bouncmpe/people/ersoy-cem.json @@ -16,5 +16,9 @@ "paralleldistributedcloud" ], "type": "person", - "thumbnail": "images/people/ersoy_cem.jpg" + "thumbnail": "images/people/ersoy_cem.jpg", + "research_areas": { + "NIA": "networking-internet-architecture", + "PDCC": "parallel-distributed-cloud" + } } diff --git a/data/bouncmpe/people/gokberk-berk.json b/data/bouncmpe/people/gokberk-berk.json index 039ef49..04987e2 100644 --- a/data/bouncmpe/people/gokberk-berk.json +++ b/data/bouncmpe/people/gokberk-berk.json @@ -13,5 +13,9 @@ "machinelearning" ], "type": "person", - "thumbnail": "images/people/gokberk_berk.jpg" + "thumbnail": "images/people/gokberk_berk.jpg", + "research_areas": { + "ML": "machine-learning", + "CVPR": "computer-vision-pattern-recognition" + } } diff --git a/data/bouncmpe/people/gungor-tunga.json b/data/bouncmpe/people/gungor-tunga.json index 330a94c..9a12d23 100644 --- a/data/bouncmpe/people/gungor-tunga.json +++ b/data/bouncmpe/people/gungor-tunga.json @@ -5,5 +5,9 @@ "position": "full-professor", "tags": ["faculty", "cmpe300", "former-cmpe150", "former-cmpe480", "artificialintelligence", "computationlanguage"], "type": "person", - "thumbnail": "images/people/gungor_tunga.jpg" + "thumbnail": "images/people/gungor_tunga.jpg", + "research_areas": { + "AI": "artificial-intelligence", + "CL": "computation-language" + } } diff --git a/data/bouncmpe/people/ulus-dogan.json b/data/bouncmpe/people/ulus-dogan.json index d56777d..eecaa3e 100644 --- a/data/bouncmpe/people/ulus-dogan.json +++ b/data/bouncmpe/people/ulus-dogan.json @@ -7,5 +7,11 @@ "linkedin": "doganulus", "homepage": "/u/dogan.ulus", "type": "person", - "thumbnail": "images/people/ulus_dogan.jpg" + "thumbnail": "images/people/ulus_dogan.jpg", + "research_areas": { + "SE": "software-engineering", + "CSys": "computer-systems", + "RC": "robotics-control", + "TA": "theory-algorithms" + } } diff --git a/layouts/shortcodes/people.html b/layouts/shortcodes/people.html index 49bc7c3..77f5410 100644 --- a/layouts/shortcodes/people.html +++ b/layouts/shortcodes/people.html @@ -6,58 +6,79 @@ {{ $ctx.Set "tag" $tag }} {{ $ctx.Set "members" slice }} {{ range $key, $value := site.Data.bouncmpe.people }} -{{if intersect $value.tags (slice $tag) }} -{{ $ctx.Set "members" ($ctx.Get "members" | append $value) }} -{{ end }} + {{ if intersect $value.tags (slice $tag) }} + {{ $ctx.Set "members" ($ctx.Get "members" | append $value) }} + {{ end }} {{ end }} {{ $members := $ctx.Get "members" }}
-{{ range $members }} -
+ {{ range $members }} +
{{ $thumbnail := .thumbnail | default "images/person.png" }} {{ $image_settings := site.Params.people.image_settings | default "500x500 webp q90 smart" }} {{ $image_resource := resources.Get $thumbnail }} - {{ if $image_resource }} - {{ $retouched := $image_resource.Fill $image_settings }} - {{ $thumbnail = $retouched.RelPermalink }} + {{ $retouched := $image_resource.Fill $image_settings }} + {{ $thumbnail = $retouched.RelPermalink }} {{ end }} -
-
-
- {{ .name | anchorize }}-thumbnail -
-
-
-
{{ .name | title }}
- {{ with .position }} + +
+
+
+ {{ .name | anchorize }}-thumbnail +
+ +
+
+
{{ .name | title }}
+ + {{ with .position }}

{{ . | i18n | title }}

- {{ end }} -

+ {{ end }} + + +

{{ with .email }} - - + + {{ end }} {{ with .homepage }} - - - + + + {{ end }} {{ with .github }} - - - + + + {{ end }} -

+ + + {{ with .research_areas }} +
+ Research: + {{ range $key, $value := . }} + + #{{ $key }} + + {{ end }} +
+ {{ end }} +
-
-{{ end }} +
+
+ {{ end }}
From c9e99550a30f44ea457489d0dcee5856d8ade5a9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Baha=20Bayrak=C3=A7=C4=B1o=C4=9Flu?= Date: Mon, 12 May 2025 09:52:19 +0000 Subject: [PATCH 2/3] Update card look --- layouts/shortcodes/people.html | 54 ++++++++++++++++++++++++++++------ 1 file changed, 45 insertions(+), 9 deletions(-) diff --git a/layouts/shortcodes/people.html b/layouts/shortcodes/people.html index 77f5410..661aabc 100644 --- a/layouts/shortcodes/people.html +++ b/layouts/shortcodes/people.html @@ -63,18 +63,54 @@
{{ .name | title }}
- {{ with .research_areas }} -
- Research: - {{ range $key, $value := . }} - - #{{ $key }} - + {{ $researchMap := dict + "softwareengineering" (dict "abbr" "SWE" "slug" "software-engineering") + "computersystems" (dict "abbr" "CS" "slug" "computer-systems") + "roboticscontrol" (dict "abbr" "RC" "slug" "robotics-control") + "theoryalgorithms" (dict "abbr" "TA" "slug" "theory-algorithms") + "artificialintelligence" (dict "abbr" "AI" "slug" "artificial-intelligence") + "machinelearning" (dict "abbr" "ML" "slug" "machine-learning") + "computervisionpatternrecognition" (dict "abbr" "CVPR" "slug" "computer-vision-pattern-recognition") + "networkinginternetarchitecture" (dict "abbr" "Net" "slug" "networking-internet-architecture") + "paralleldistributedcloud" (dict "abbr" "PDC" "slug" "parallel-distributed-cloud") + "bioinformatics" (dict "abbr" "Bio" "slug" "bioinformatics") + }} + + {{ $tagCount := len .tags }} + {{ if ge $tagCount 1 }} + {{ $lastTags := slice }} + {{ range $i, $tag := .tags }} + {{ if ge $i (sub $tagCount 3) }} + {{ $lastTags = $lastTags | append $tag }} {{ end }} -
+ {{ end }} + + {{ $researchTags := slice }} + {{ range $lastTags }} + {{ if $entry := index $researchMap . }} + {{ $researchTags = $researchTags | append (dict "key" . "abbr" ($entry.abbr) "slug" ($entry.slug)) }} + {{ end }} + {{ end }} + + {{ if gt (len $researchTags) 0 }} +
+ + {{ range $researchTags }} + + #{{ .abbr }} + + {{ end }} +
+ {{ end }} {{ end }} + + +
From 125117367f7f59e28aaf713a639fbd12c5069a13 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ahmet=20Baha=20Bayrak=C3=A7=C4=B1o=C4=9Flu?= Date: Mon, 12 May 2025 16:21:02 +0000 Subject: [PATCH 3/3] Update research names and structure --- data/bouncmpe/people/akarun-lale.json | 7 ++-- data/bouncmpe/people/alagoz-fatih.json | 7 ++-- data/bouncmpe/people/basar-ayse.json | 2 +- data/bouncmpe/people/baytas-inci.json | 8 ++--- data/bouncmpe/people/cemgil-taylan.json | 2 +- data/bouncmpe/people/ersoy-cem.json | 10 ++---- data/bouncmpe/people/gokberk-berk.json | 10 ++---- data/bouncmpe/people/gundogdu-didem.json | 2 +- data/bouncmpe/people/gungor-onur.json | 2 +- data/bouncmpe/people/gungor-tunga.json | 8 ++--- data/bouncmpe/people/ozgovde-atay.json | 4 +-- data/bouncmpe/people/ozgur-arzucan.json | 2 +- data/bouncmpe/people/ozturan-can.json | 2 +- data/bouncmpe/people/salah-ali.json | 2 +- data/bouncmpe/people/say-cem.json | 4 +-- data/bouncmpe/people/sen-alper.json | 2 +- data/bouncmpe/people/sonmez-cagatay.json | 4 +-- data/bouncmpe/people/tugcu-tuna.json | 4 +-- data/bouncmpe/people/tunca-can.json | 2 +- data/bouncmpe/people/ugur-emre.json | 4 +-- data/bouncmpe/people/ulus-dogan.json | 10 ++---- data/bouncmpe/people/uskudarli-suzan.json | 6 ++-- data/bouncmpe/people/yilmaz-birkan.json | 2 +- data/bouncmpe/people/yolum-pinar.json | 2 +- data/bouncmpe/people/yurdakul-arda.json | 2 +- data/bouncmpe/research_topics.json | 15 +++++++++ layouts/shortcodes/people.html | 39 +++++------------------ 27 files changed, 64 insertions(+), 100 deletions(-) create mode 100644 data/bouncmpe/research_topics.json diff --git a/data/bouncmpe/people/akarun-lale.json b/data/bouncmpe/people/akarun-lale.json index 00ebdac..b7bbcc2 100644 --- a/data/bouncmpe/people/akarun-lale.json +++ b/data/bouncmpe/people/akarun-lale.json @@ -3,10 +3,7 @@ "homepage": "/u/lale.akarun", "name": "Lale Akarun", "position": "full-professor", - "tags": ["faculty", "cmpe460","former-cmpe322", "former-cmpe344", "advisor-3","former-cmpe362", "computervisionpatternrecognition"], + "tags": ["faculty", "cmpe460","former-cmpe322", "former-cmpe344", "advisor-3","former-cmpe362", "computer-vision-pattern-recognition"], "type": "person", - "thumbnail": "images/people/akarun_lale.jpg", - "research_areas": { - "CVPR": "computer-vision-pattern-recognition" - } + "thumbnail": "images/people/akarun_lale.jpg" } diff --git a/data/bouncmpe/people/alagoz-fatih.json b/data/bouncmpe/people/alagoz-fatih.json index 34fbbcf..8a6831b 100644 --- a/data/bouncmpe/people/alagoz-fatih.json +++ b/data/bouncmpe/people/alagoz-fatih.json @@ -3,10 +3,7 @@ "homepage": "/u/fatih.alagoz", "name": "Fatih Alagöz", "position": "full-professor", - "tags": ["faculty", "training", "cmpe362", "former-cmpe300", "networkinginternetarchitecture"], + "tags": ["faculty", "training", "cmpe362", "former-cmpe300", "networking-internet-architecture"], "type": "person", - "thumbnail": "images/people/alagoz_fatih.jpg", - "research_areas": { - "NIA": "networking-internet-architecture" - } + "thumbnail": "images/people/alagoz_fatih.jpg" } diff --git a/data/bouncmpe/people/basar-ayse.json b/data/bouncmpe/people/basar-ayse.json index 40759dd..b22cb39 100644 --- a/data/bouncmpe/people/basar-ayse.json +++ b/data/bouncmpe/people/basar-ayse.json @@ -2,7 +2,7 @@ "email": "ayse.basar@bogazici.edu.tr", "name": "Ayşe Başar", "position": "full-professor", - "tags": ["former-faculty", "adjunct-faculty", "former-cmpe352", "softwareengineering"], + "tags": ["former-faculty", "adjunct-faculty", "former-cmpe352", "software-engineering"], "type": "person", "thumbnail": "images/people/basar_ayse.jpg" } diff --git a/data/bouncmpe/people/baytas-inci.json b/data/bouncmpe/people/baytas-inci.json index bac3900..465f349 100644 --- a/data/bouncmpe/people/baytas-inci.json +++ b/data/bouncmpe/people/baytas-inci.json @@ -3,11 +3,7 @@ "homepage": "/u/inci.baytas", "name": "İnci Baytaş", "position": "assistant-professor", - "tags": ["faculty", "vicechair", "cmpe343", "cmpe462", "advisor-4", "bioinformatics", "machinelearning"], + "tags": ["faculty", "vicechair", "cmpe343", "cmpe462", "advisor-4", "bioinformatics", "machine-learning"], "type": "person", - "thumbnail": "images/people/baytas_inci.jpg", - "research_areas": { - "BIO": "bioinformatics", - "ML": "machine-learning" - } + "thumbnail": "images/people/baytas_inci.jpg" } diff --git a/data/bouncmpe/people/cemgil-taylan.json b/data/bouncmpe/people/cemgil-taylan.json index f0481e9..ec5cbc8 100644 --- a/data/bouncmpe/people/cemgil-taylan.json +++ b/data/bouncmpe/people/cemgil-taylan.json @@ -9,7 +9,7 @@ "adjunct-faculty", "former-cmpe462", "former-cmpe362", - "machinelearning" + "machine-learning" ], "type": "person", "thumbnail": "images/people/cemgil_taylan.jpg" diff --git a/data/bouncmpe/people/ersoy-cem.json b/data/bouncmpe/people/ersoy-cem.json index 01003d0..2970325 100644 --- a/data/bouncmpe/people/ersoy-cem.json +++ b/data/bouncmpe/people/ersoy-cem.json @@ -12,13 +12,9 @@ "cmpe475", "former-cmpe150", "advisor-1", - "networkinginternetarchitecture", - "paralleldistributedcloud" + "networking-internet-architecture", + "parallel-distributed-cloud" ], "type": "person", - "thumbnail": "images/people/ersoy_cem.jpg", - "research_areas": { - "NIA": "networking-internet-architecture", - "PDCC": "parallel-distributed-cloud" - } + "thumbnail": "images/people/ersoy_cem.jpg" } diff --git a/data/bouncmpe/people/gokberk-berk.json b/data/bouncmpe/people/gokberk-berk.json index 04987e2..4ee074a 100644 --- a/data/bouncmpe/people/gokberk-berk.json +++ b/data/bouncmpe/people/gokberk-berk.json @@ -9,13 +9,9 @@ "vicechair", "cmpe160", "advisor-2", - "computervisionpatternrecognition", - "machinelearning" + "computer-vision-pattern-recognition", + "machine-learning" ], "type": "person", - "thumbnail": "images/people/gokberk_berk.jpg", - "research_areas": { - "ML": "machine-learning", - "CVPR": "computer-vision-pattern-recognition" - } + "thumbnail": "images/people/gokberk_berk.jpg" } diff --git a/data/bouncmpe/people/gundogdu-didem.json b/data/bouncmpe/people/gundogdu-didem.json index 5aba123..b9a8dea 100644 --- a/data/bouncmpe/people/gundogdu-didem.json +++ b/data/bouncmpe/people/gundogdu-didem.json @@ -2,7 +2,7 @@ "email": "didem.gundogdu@bogazici.edu.tr", "name": "Didem Gündoğdu", "position": "doctor", - "tags": ["parttime-faculty", "computersociety"], + "tags": ["parttime-faculty", "computer-society"], "type": "person", "thumbnail": "images/people/gundogdu_didem.jpg" } diff --git a/data/bouncmpe/people/gungor-onur.json b/data/bouncmpe/people/gungor-onur.json index 46296c4..28aee73 100644 --- a/data/bouncmpe/people/gungor-onur.json +++ b/data/bouncmpe/people/gungor-onur.json @@ -2,7 +2,7 @@ "email": "onurgu@bogazici.edu.tr", "name": "Onur Güngör", "position": "doctor", - "tags": ["parttime-faculty", "computationlanguage"], + "tags": ["parttime-faculty", "computation-language"], "type": "person", "thumbnail": "images/people/gungor_onur.jpg" } diff --git a/data/bouncmpe/people/gungor-tunga.json b/data/bouncmpe/people/gungor-tunga.json index 9a12d23..e66b505 100644 --- a/data/bouncmpe/people/gungor-tunga.json +++ b/data/bouncmpe/people/gungor-tunga.json @@ -3,11 +3,7 @@ "homepage": "/u/tunga.gungor", "name": "Tunga Güngör", "position": "full-professor", - "tags": ["faculty", "cmpe300", "former-cmpe150", "former-cmpe480", "artificialintelligence", "computationlanguage"], + "tags": ["faculty", "cmpe300", "former-cmpe150", "former-cmpe480", "artificial-intelligence", "computation-language"], "type": "person", - "thumbnail": "images/people/gungor_tunga.jpg", - "research_areas": { - "AI": "artificial-intelligence", - "CL": "computation-language" - } + "thumbnail": "images/people/gungor_tunga.jpg" } diff --git a/data/bouncmpe/people/ozgovde-atay.json b/data/bouncmpe/people/ozgovde-atay.json index 19adf0f..fc761fe 100644 --- a/data/bouncmpe/people/ozgovde-atay.json +++ b/data/bouncmpe/people/ozgovde-atay.json @@ -11,8 +11,8 @@ "advisor-2", "former-cmpe140", "former-cmpe350", - "networkinginternetarchitecture", - "paralleldistributedcloud" + "networking-internet-architecture", + "parallel-distributed-cloud" ], "type": "person", "thumbnail": "images/people/ozgovde_atay.jpg" diff --git a/data/bouncmpe/people/ozgur-arzucan.json b/data/bouncmpe/people/ozgur-arzucan.json index a57a415..e27a683 100644 --- a/data/bouncmpe/people/ozgur-arzucan.json +++ b/data/bouncmpe/people/ozgur-arzucan.json @@ -11,7 +11,7 @@ "cmpe321", "advisor-x", "bioinformatics", - "computationlanguage" + "computation-language" ], "type": "person", "thumbnail": "images/people/ozgur_arzucan.jpg" diff --git a/data/bouncmpe/people/ozturan-can.json b/data/bouncmpe/people/ozturan-can.json index 38ccdc6..bd3e7e9 100644 --- a/data/bouncmpe/people/ozturan-can.json +++ b/data/bouncmpe/people/ozturan-can.json @@ -3,7 +3,7 @@ "homepage": "/u/can.ozturan", "name": "Can Özturan", "position": "full-professor", - "tags": ["faculty", "double-major", "cmpe230", "cmpe425", "cmpe478", "computersystems", "paralleldistributedcloud", "theoryalgorithms"], + "tags": ["faculty", "double-major", "cmpe230", "cmpe425", "cmpe478", "computer-systems", "parallel-distributed-cloud", "theory-algorithms"], "type": "person", "thumbnail": "images/people/ozturan_can.jpg" } diff --git a/data/bouncmpe/people/salah-ali.json b/data/bouncmpe/people/salah-ali.json index 1549487..a0e23ac 100644 --- a/data/bouncmpe/people/salah-ali.json +++ b/data/bouncmpe/people/salah-ali.json @@ -2,6 +2,6 @@ "email": "salah@bogazici.edu.tr", "name": "Albert Ali Salah", "position": "full-professor", - "tags": ["adjunct-faculty", "former-teaching-assistant", "computersociety"], + "tags": ["adjunct-faculty", "former-teaching-assistant", "computer-society"], "type": "person" } diff --git a/data/bouncmpe/people/say-cem.json b/data/bouncmpe/people/say-cem.json index 683e388..b4b4b7c 100644 --- a/data/bouncmpe/people/say-cem.json +++ b/data/bouncmpe/people/say-cem.json @@ -10,8 +10,8 @@ "minor-degree", "cmpe350", "former-cmpe150", - "artificialintelligence", - "theoryalgorithms" + "artificial-intelligence", + "theory-algorithms" ], "type": "person", "thumbnail": "images/people/say_cem.jpg" diff --git a/data/bouncmpe/people/sen-alper.json b/data/bouncmpe/people/sen-alper.json index 3859cb7..53e035c 100644 --- a/data/bouncmpe/people/sen-alper.json +++ b/data/bouncmpe/people/sen-alper.json @@ -3,7 +3,7 @@ "homepage": "/u/alper.sen", "name": "Alper Şen", "position": "full-professor", - "tags": ["faculty", "cmpe240", "computersystems", "paralleldistributedcloud", "theoryalgorithms"], + "tags": ["faculty", "cmpe240", "computersystems", "parallel-distributed-cloud", "theory-algorithms"], "type": "person", "thumbnail": "images/people/sen_alper.jpg" } diff --git a/data/bouncmpe/people/sonmez-cagatay.json b/data/bouncmpe/people/sonmez-cagatay.json index eefec00..478f1b7 100644 --- a/data/bouncmpe/people/sonmez-cagatay.json +++ b/data/bouncmpe/people/sonmez-cagatay.json @@ -4,8 +4,8 @@ "position": "doctor", "tags": [ "parttime-faculty", - "networkinginternetarchitecture", - "paralleldistributedcloud" + "networking-internet-architecture", + "parallel-distributed-cloud" ], "type": "person", "thumbnail": "images/people/sonmez_cagatay.jpg" diff --git a/data/bouncmpe/people/tugcu-tuna.json b/data/bouncmpe/people/tugcu-tuna.json index a2ebfac..72f85dc 100644 --- a/data/bouncmpe/people/tugcu-tuna.json +++ b/data/bouncmpe/people/tugcu-tuna.json @@ -12,8 +12,8 @@ "cmpe322", "cmpe476", "advisor-1", - "networkinginternetarchitecture", - "paralleldistributedcloud" + "networking-internet-architecture", + "parallel-distributed-cloud" ], "type": "person", "thumbnail": "images/people/tugcu_tuna.jpg" diff --git a/data/bouncmpe/people/tunca-can.json b/data/bouncmpe/people/tunca-can.json index 1e0938f..6ddaafa 100644 --- a/data/bouncmpe/people/tunca-can.json +++ b/data/bouncmpe/people/tunca-can.json @@ -2,7 +2,7 @@ "email": "can.tunca@bogazici.edu.tr", "name": "Can Tunca", "position": "doctor", - "tags": ["parttime-faculty", "networkinginternetarchitecture"], + "tags": ["parttime-faculty", "networking-internet-architecture"], "type": "person", "thumbnail": "images/people/tunca_can.jpg" } diff --git a/data/bouncmpe/people/ugur-emre.json b/data/bouncmpe/people/ugur-emre.json index 5b74ffb..be57dff 100644 --- a/data/bouncmpe/people/ugur-emre.json +++ b/data/bouncmpe/people/ugur-emre.json @@ -10,8 +10,8 @@ "former-cmpe140", "former-cmpe343", "former-cmpe462", - "artificialintelligence", - "roboticscontrol", + "artificial-intelligence", + "robotics-control", "advisor-4", "senior-projects-coordinator" ], diff --git a/data/bouncmpe/people/ulus-dogan.json b/data/bouncmpe/people/ulus-dogan.json index eecaa3e..145ba33 100644 --- a/data/bouncmpe/people/ulus-dogan.json +++ b/data/bouncmpe/people/ulus-dogan.json @@ -2,16 +2,10 @@ "email": "dogan.ulus@bogazici.edu.tr", "name": "Doğan Ulus", "position": "assistant-professor", - "tags": ["faculty", "system", "web", "cmpe344", "cmpe434", "advisor-3", "computersystems", "softwareengineering", "roboticscontrol", "theoryalgorithms"], + "tags": ["faculty", "system", "web", "cmpe344", "cmpe434", "advisor-3", "computer-systems", "software-engineering", "robotics-control", "theory-algorithms"], "github": "doganulus", "linkedin": "doganulus", "homepage": "/u/dogan.ulus", "type": "person", - "thumbnail": "images/people/ulus_dogan.jpg", - "research_areas": { - "SE": "software-engineering", - "CSys": "computer-systems", - "RC": "robotics-control", - "TA": "theory-algorithms" - } + "thumbnail": "images/people/ulus_dogan.jpg" } diff --git a/data/bouncmpe/people/uskudarli-suzan.json b/data/bouncmpe/people/uskudarli-suzan.json index b3f6f51..e0022a1 100644 --- a/data/bouncmpe/people/uskudarli-suzan.json +++ b/data/bouncmpe/people/uskudarli-suzan.json @@ -11,9 +11,9 @@ "cmpe451", "advisor-prep", "former-cmpe150", - "computersociety", - "computationlanguage", - "softwareengineering" + "computer-society", + "computation-language", + "software-engineering" ], "type": "person", "thumbnail": "images/people/uskudarli_suzan.jpg" diff --git a/data/bouncmpe/people/yilmaz-birkan.json b/data/bouncmpe/people/yilmaz-birkan.json index af4c647..cf3e1bb 100644 --- a/data/bouncmpe/people/yilmaz-birkan.json +++ b/data/bouncmpe/people/yilmaz-birkan.json @@ -13,7 +13,7 @@ "cmpe220", "advisor-x", "former-cmpe476", - "networkinginternetarchitecture" + "networking-internet-architecture" ], "type": "person", "thumbnail": "images/people/yilmaz_birkan.jpg" diff --git a/data/bouncmpe/people/yolum-pinar.json b/data/bouncmpe/people/yolum-pinar.json index 3706e2b..45391a9 100644 --- a/data/bouncmpe/people/yolum-pinar.json +++ b/data/bouncmpe/people/yolum-pinar.json @@ -2,7 +2,7 @@ "location": "University of Utrecht", "name": "Pınar Yolum", "position": "full-professor", - "tags": ["former-faculty", "advisor", "adjunct-faculty","former-cmpe150", "computersociety"], + "tags": ["former-faculty", "advisor", "adjunct-faculty","former-cmpe150", "computer-society"], "type": "person", "thumbnail": "images/people/yolum_pinar.jpg" } diff --git a/data/bouncmpe/people/yurdakul-arda.json b/data/bouncmpe/people/yurdakul-arda.json index f780a2a..deb629b 100644 --- a/data/bouncmpe/people/yurdakul-arda.json +++ b/data/bouncmpe/people/yurdakul-arda.json @@ -3,7 +3,7 @@ "homepage": "/u/arda.yurdakul", "name": "Arda Yurdakul", "position": "full-professor", - "tags": ["faculty", "graduate-studies", "curriculum", "cmpe443", "cmpe446", "computersystems", "roboticscontrol"], + "tags": ["faculty", "graduate-studies", "curriculum", "cmpe443", "cmpe446", "computer-systems", "robotics-control"], "type": "person", "thumbnail": "images/people/yurdakul_arda.jpg" } diff --git a/data/bouncmpe/research_topics.json b/data/bouncmpe/research_topics.json new file mode 100644 index 0000000..4f641f0 --- /dev/null +++ b/data/bouncmpe/research_topics.json @@ -0,0 +1,15 @@ +{ + "artificial-intelligence": "AI", + "bioinformatics": "BIO", + "computation-language": "CL", + "computer-society": "CSoc", + "computer-systems": "CS", + "computer-vision-pattern-recognition": "CVPR", + "machine-learning": "ML", + "networking-internet-architecture": "Network", + "parallel-distributed-cloud": "PDC", + "robotics-control": "Robotics", + "software-engineering": "SWE", + "theory-algorithms": "Theory" +} + \ No newline at end of file diff --git a/layouts/shortcodes/people.html b/layouts/shortcodes/people.html index 661aabc..2da7122 100644 --- a/layouts/shortcodes/people.html +++ b/layouts/shortcodes/people.html @@ -62,43 +62,22 @@
{{ .name | title }}
{{ end }} - - {{ $researchMap := dict - "softwareengineering" (dict "abbr" "SWE" "slug" "software-engineering") - "computersystems" (dict "abbr" "CS" "slug" "computer-systems") - "roboticscontrol" (dict "abbr" "RC" "slug" "robotics-control") - "theoryalgorithms" (dict "abbr" "TA" "slug" "theory-algorithms") - "artificialintelligence" (dict "abbr" "AI" "slug" "artificial-intelligence") - "machinelearning" (dict "abbr" "ML" "slug" "machine-learning") - "computervisionpatternrecognition" (dict "abbr" "CVPR" "slug" "computer-vision-pattern-recognition") - "networkinginternetarchitecture" (dict "abbr" "Net" "slug" "networking-internet-architecture") - "paralleldistributedcloud" (dict "abbr" "PDC" "slug" "parallel-distributed-cloud") - "bioinformatics" (dict "abbr" "Bio" "slug" "bioinformatics") - }} - - {{ $tagCount := len .tags }} - {{ if ge $tagCount 1 }} - {{ $lastTags := slice }} - {{ range $i, $tag := .tags }} - {{ if ge $i (sub $tagCount 3) }} - {{ $lastTags = $lastTags | append $tag }} - {{ end }} - {{ end }} + + {{ $researchMap := site.Data.bouncmpe.research_topics }} {{ $researchTags := slice }} - {{ range $lastTags }} + {{ range .tags }} {{ if $entry := index $researchMap . }} - {{ $researchTags = $researchTags | append (dict "key" . "abbr" ($entry.abbr) "slug" ($entry.slug)) }} + {{ $researchTags = $researchTags | append (dict "slug" . "abbr" $entry) }} {{ end }} {{ end }} {{ if gt (len $researchTags) 0 }} -