From 6b8bed7cdeda8b5d90935ac66de1ff24c07852ea Mon Sep 17 00:00:00 2001 From: sasha-astiadi Date: Tue, 5 Dec 2023 21:46:10 +0100 Subject: [PATCH] change the people page --- content/newsroom/zuzalu/index.md | 5 ++++- content/people/ahmed_hanafy/index.md | 14 ++++++-------- content/people/ahmed_harby/index.md | 18 +++++++----------- content/people/denis_mukwege/index.md | 13 ++++++++----- templates/partials/personCard.html | 2 -- templates/partials/person_card.html | 21 ++++++++------------- templates/person_page.html | 3 --- 7 files changed, 33 insertions(+), 43 deletions(-) diff --git a/content/newsroom/zuzalu/index.md b/content/newsroom/zuzalu/index.md index 297ecee..8cda685 100644 --- a/content/newsroom/zuzalu/index.md +++ b/content/newsroom/zuzalu/index.md @@ -8,7 +8,10 @@ taxonomies: tags: [update, news, community] news-category: [foundation] extra: - imgPath: zuzalu.png + imgPath: "zuzalu.png" + socialLinks: { + websites: "https//www.bbc.com/news/explainers-52442754", + } --- Some of the team has arrived to Zuzalu in Montenegro for this weekend's New Cities & Network States event. Kristof will be speaking on Sunday and we'll also be hosting several side events including a hackathon around the Web3 Gateway. diff --git a/content/people/ahmed_hanafy/index.md b/content/people/ahmed_hanafy/index.md index 6d18e4f..9213f33 100644 --- a/content/people/ahmed_hanafy/index.md +++ b/content/people/ahmed_hanafy/index.md @@ -4,18 +4,16 @@ weight: 4 description: Ahmed is an Automation Software Testing Engineer, started his career at Codescalers. taxonomies: people: [ahmed_hanafy] - memberships: [tech] - categories: [foundation] + memberships: [] + categories: [] extra: imgPath: ahmed_hanafy.png - organizations: [threefold_tech] - countries: [Egypt] - cities: [Cairo] + organizations: [] + countries: [] + cities: [] private: 0 socialLinks: { - LinkedIn: https://www.linkedin.com/in/ahmed-hanafy-7250/, - github: https://github.com/AhmedHanafy725, - websites: https://threefold.tech, + contact: https://www.linkedin.com/in/ahmed-hanafy-7250/, } --- diff --git a/content/people/ahmed_harby/index.md b/content/people/ahmed_harby/index.md index b39b060..6338ca5 100644 --- a/content/people/ahmed_harby/index.md +++ b/content/people/ahmed_harby/index.md @@ -1,22 +1,18 @@ --- title: Ahmed Saleh Harby -weight: 4 +weight: 2 description: Ahmed is a passionate software test engineer with experience in software testing and automation .... taxonomies: people: [ahmed_harby] - memberships: [tech] - categories: [foundation] + memberships: [] + categories: [] extra: imgPath: ahmed_harby.jpg - organizations: [threefold_tech] - countries: [Egypt] - cities: [Cairo] + organizations: [] + countries: [] + cities: [] private: 0 socialLinks: { - LinkedIn: https://www.linkedin.com/in/ahmed-saleh-harby/, - github: https://github.com/A-Harby, - websites: https://threefold.tech, + contact: https://www.linkedin.com/in/ahmed-saleh-harby/, } --- - -Ahmed is a passionate software test engineer with experience in software testing and automation using Selenium, Cypress, and other technologies. And always curious to learn more. diff --git a/content/people/denis_mukwege/index.md b/content/people/denis_mukwege/index.md index 2088c72..1b137ba 100644 --- a/content/people/denis_mukwege/index.md +++ b/content/people/denis_mukwege/index.md @@ -2,15 +2,18 @@ title: Dr. Denis Mukwege weight: 1 description: A world-renowned gynaecologist, human rights activist and Nobel Peace Prize laureate from east Congo. +taxonomies: + people: [denis_mukwege] + memberships: [] + categories: [] extra: imgPath: denis_mukwege.jpg - organizations: [Panzi Foundation] - countries: [DR of Congo] - cities: [Dubai, Ibiza] + organizations: [] + countries: [] + cities: [] private: 0 socialLinks: { - LinkedIn: https://www.linkedin.com/in/adnansf/, - websites: https://denismukwege2023.com/index.php, https://www.mukwegefoundation.org + contact: https://www.mukwegefoundation.org } --- diff --git a/templates/partials/personCard.html b/templates/partials/personCard.html index bffb215..2204df7 100644 --- a/templates/partials/personCard.html +++ b/templates/partials/personCard.html @@ -1,5 +1,4 @@
-
{% set url = get_url(path='/' ~ page.relative_path | replace(from='_', to='-') | replace(from='index.md', to=page.extra.imgPath)) %} {{page.title ~ ' Picture'}} @@ -23,6 +22,5 @@
- diff --git a/templates/partials/person_card.html b/templates/partials/person_card.html index bffb215..4db4934 100644 --- a/templates/partials/person_card.html +++ b/templates/partials/person_card.html @@ -1,11 +1,10 @@
-
- + {% set url = get_url(path='/' ~ page.relative_path | replace(from='_', to='-') | replace(from='index.md', to=page.extra.imgPath)) %} {{page.title ~ ' Picture'}}

{{page.title}}

-
-
-
- +
\ No newline at end of file diff --git a/templates/person_page.html b/templates/person_page.html index 36a81c3..df358b1 100644 --- a/templates/person_page.html +++ b/templates/person_page.html @@ -11,9 +11,6 @@

{{page.title}}

-
- {% include "partials/socialLinks.html" %} -
{{page.content | safe }}