From c2ea4a6cc97df8e6fbdca8e2f2a26105f94373af Mon Sep 17 00:00:00 2001 From: TaurusXin Date: Fri, 31 Jan 2025 10:20:25 +0800 Subject: [PATCH] feat: travellings --- assets/icons/travellings.svg | 1 + config.yaml | 32 +++++++++++++++++++++++++------- content/page/about.md | 2 +- content/page/archives.md | 2 +- content/page/events.md | 2 +- content/page/friend.md | 2 +- content/page/message-board.md | 2 +- content/page/search.md | 2 +- 8 files changed, 32 insertions(+), 13 deletions(-) create mode 100644 assets/icons/travellings.svg diff --git a/assets/icons/travellings.svg b/assets/icons/travellings.svg new file mode 100644 index 0000000..1169182 --- /dev/null +++ b/assets/icons/travellings.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/config.yaml b/config.yaml index 668c3a1..f4ff3a3 100644 --- a/config.yaml +++ b/config.yaml @@ -194,24 +194,36 @@ menu: - identifier: home name: 首页 url: / - weight: -100 + weight: 1 params: icon: home - + - identifier: moments name: 拾光 url: https://moments.taurusxin.com - weight: -75 + weight: 5 params: icon: moments - + newTab: true + + - identifier: travellings + name: 开往 + url: https://www.travellings.cn/go.html + weight: 6 + params: + icon: user + newTab: true + - identifier: rss name: RSS url: /index.xml - weight: -40 + weight: 10 params: - icon: rss - + icon: rss. + newTab: true + + + social: - identifier: github name: GitHub @@ -241,6 +253,12 @@ menu: params: icon: mail + - identifier: travellings + name: 开往 + url: https://travellings.taurusxin.com + weight: 5 + params: + icon: travellings related: includeNewer: true diff --git a/content/page/about.md b/content/page/about.md index c342597..90c8bb8 100644 --- a/content/page/about.md +++ b/content/page/about.md @@ -9,7 +9,7 @@ slug: about lastmod: '2024-12-10T23:05:00+0800' menu: main: - weight: -90 + weight: 2 params: icon: user --- diff --git a/content/page/archives.md b/content/page/archives.md index 8b8e467..75b8663 100644 --- a/content/page/archives.md +++ b/content/page/archives.md @@ -6,7 +6,7 @@ layout: "archives" slug: "archives" menu: main: - weight: -70 + weight: 7 params: icon: archives comments: false diff --git a/content/page/events.md b/content/page/events.md index 9a860f1..bd01d99 100644 --- a/content/page/events.md +++ b/content/page/events.md @@ -8,7 +8,7 @@ slug: events lastmod: '2024-08-20T00:32:00+0800' menu: main: - weight: -60 + weight: 8 params: icon: notebook --- diff --git a/content/page/friend.md b/content/page/friend.md index 93b3073..e25e927 100644 --- a/content/page/friend.md +++ b/content/page/friend.md @@ -7,7 +7,7 @@ menu: name: 友链 params: icon: heart - weight: -80 + weight: 4 edit: false comment: true --- diff --git a/content/page/message-board.md b/content/page/message-board.md index 120d6ae..005e297 100644 --- a/content/page/message-board.md +++ b/content/page/message-board.md @@ -7,7 +7,7 @@ menu: name: 留言 params: icon: message-board - weight: -85 + weight: 3 edit: false comment: true --- diff --git a/content/page/search.md b/content/page/search.md index 8de3d3c..e306ba9 100644 --- a/content/page/search.md +++ b/content/page/search.md @@ -7,7 +7,7 @@ outputs: - json menu: main: - weight: -50 + weight: 9 params: icon: search --- \ No newline at end of file