From 8f374e45314d62815de774eabd04f80a5f8abef9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=8F=E8=87=A3=E5=AD=90=E5=90=83=E5=A4=A7=E6=A9=99?= =?UTF-8?q?=E5=AD=90?= Date: Thu, 21 Mar 2024 17:18:49 +0800 Subject: [PATCH] add faculty page --- _config.yml | 2 -- _pages/en/profiles.md | 34 +++++++++++++++++++--------------- _pages/zh/profiles.md | 2 +- 3 files changed, 20 insertions(+), 18 deletions(-) diff --git a/_config.yml b/_config.yml index c32da9ee3b9e..9b161ac3e86f 100644 --- a/_config.yml +++ b/_config.yml @@ -207,8 +207,6 @@ exclude: - lighthouse_results/ - package.json - package-lock.json - - _pages/en-us/about_einstein.md - - _pages/pt-br/about_einstein.md - purgecss.config.js - README.md - readme_preview/ diff --git a/_pages/en/profiles.md b/_pages/en/profiles.md index 057ec019137d..60cd35361899 100644 --- a/_pages/en/profiles.md +++ b/_pages/en/profiles.md @@ -1,9 +1,9 @@ --- page_id: profiles layout: profiles -permalink: /people/ -title: people -description: members of the lab or group +permalink: /faculty/ +title: faculty +description: Faculties of X-LANCE nav: true nav_order: 7 @@ -11,19 +11,23 @@ profiles: # if you want to include more than one profile, just replicate the following block # and create one content file for each profile inside _pages/ - align: right - image: prof_pic.jpg - content: about_einstein.md - image_circular: false # crops the image to make it circular + image: members/faculty/yk_square.jpeg + content: Professor Kai Yu + image_circular: true # crops the image to make it circular more_info: > -

555 your office number

-

123 your address street

-

Your City, State 12345

+

**Professor Kai Yu**

+

SEIEE 3-539

+

Shanghai Jiao Tong University

+

Shanghai, Minhang

+

kai.yu@sjtu.edu.cn

- align: left - image: prof_pic.jpg - content: about_einstein.md - image_circular: false # crops the image to make it circular + image: members/faculty/slp_square.jpeg + content: Associate Professor Liping Shen + image_circular: true # crops the image to make it circular more_info: > -

555 your office number

-

123 your address street

-

Your City, State 12345

+

**Associate Professor Liping Shen**

+

SEIEE 3-531

+

Shanghai Jiao Tong University

+

Shanghai, Minhang

+

lpshen@sjtu.edu.cn

--- diff --git a/_pages/zh/profiles.md b/_pages/zh/profiles.md index fd243dc4ec43..55d6414b4e0e 100644 --- a/_pages/zh/profiles.md +++ b/_pages/zh/profiles.md @@ -1,7 +1,7 @@ --- page_id: profiles layout: profiles -permalink: /people/ +permalink: /faculty/ title: 成员 description: 实验室成员 nav: true