From d4a9c9dd554f54f15a87b32c7e09209bd2b9b361 Mon Sep 17 00:00:00 2001 From: Shitong Luo Date: Wed, 17 Jul 2024 17:36:42 +0800 Subject: [PATCH] Use relative_url --- _data/navigation.yml | 4 ++-- _data/profile.yml | 12 +++++++----- _includes/navbar.html | 4 ++-- _includes/widgets/experience_card.html | 4 ++-- _includes/widgets/profile_card.html | 7 +++++-- _includes/widgets/publication_item.html | 6 +++--- _layouts/default.html | 4 ++-- _layouts/prompt.html | 2 +- _publications/2023/2023-pub-example-1.md | 2 +- _publications/2023/2023-pub-example-2.md | 2 +- _publications/2023/2023-pub-example-no-cover.md | 2 +- _publications/2024/2024-pub-example-3.md | 2 +- 12 files changed, 28 insertions(+), 23 deletions(-) diff --git a/_data/navigation.yml b/_data/navigation.yml index 3a2cbb41..fea85e35 100644 --- a/_data/navigation.yml +++ b/_data/navigation.yml @@ -1,5 +1,5 @@ pages: - name: Home - url: ./ + url: / - name: Publications - url: publications + url: /publications diff --git a/_data/profile.yml b/_data/profile.yml index bb713ef6..379fd906 100644 --- a/_data/profile.yml +++ b/_data/profile.yml @@ -3,14 +3,16 @@ secondary_name: "" navbar_name: "Your Name" positions: - - 'Peking University B.S., Peking University (2021)' +- name: Position without logo +- logo: /assets/images/badges/PKU_red.png + name: B.S., Peking University (2021) email: "your@email.com" # cv_link: link-to-your-cv-file gscholar: your_google_scholar_id github: your_github_id twitter: your_twitter_id -# wechat_qrcode: assets/images/etc/wechat.jpg +# wechat_qrcode: /assets/images/etc/wechat.jpg # wechat_prompt: >- # Please tell me your name and affiliation (current or past) when adding my wechat. Thanks! # linkedin: your-linked-in-id @@ -21,19 +23,19 @@ short_bio: >- Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. -portrait_url: assets/images/photos/portrait.jpg +portrait_url: /assets/images/photos/portrait.jpg portrait_caption: >- Photo by Manja Vitolic on Unsplash. education: - name: Peking University - logo: assets/images/badges/PKU_red.png + logo: /assets/images/badges/PKU_red.png position: B.S. in Computer Science date: Sep. 2017 - Jul. 2021 # experience: # - name: Peking University -# logo: assets/images/badges/PKU_red.png +# logo: /assets/images/badges/PKU_red.png # position: Research Intern # date: Sep. 2019 - Jul. 2021 diff --git a/_includes/navbar.html b/_includes/navbar.html index 303f5a2f..95be90ec 100644 --- a/_includes/navbar.html +++ b/_includes/navbar.html @@ -9,8 +9,8 @@