diff --git a/config.toml b/config.toml index 953e6d1e5090b76c1a44f26428f0014e141fa8d5..3385c157b16e8a6d52cd494e8bfde8f0901c0267 100644 --- a/config.toml +++ b/config.toml @@ -38,7 +38,7 @@ contact_form_action = "#" # contact form works with : https://formspree.io ############################## social links ############################## [[params.social]] -icon = "ti-github" # themify icon pack : https://themify.me/themify-icons +icon = "ti-code" # themify icon pack : https://themify.me/themify-icons link = "https://codechina.csdn.net/codechina/developer-roadmap/frontend/intro" @@ -83,36 +83,83 @@ weight = 3 name = "高阶" url = "/senior" weight = 4 - # Dropdown menu [[menu.main]] weight = 5 name = "成长路线图" hasChildren = true + [[menu.main]] + parent = "成长路线图" + name = "后端开发路线图" + url = "https://codechina.gitcode.host/developer-roadmap/backend/intro/" + weight = 2 + + [[menu.main]] + parent = "成长路线图" + name = "DevOps 路线图" + url = "https://codechina.gitcode.host/developer-roadmap/devops/intro/" + weight = 3 + + [[menu.main]] + parent = "成长路线图" + name = "测试路线图" + url = "https://codechina.gitcode.host/developer-roadmap/test/intro/" + weight = 4 + + [[menu.main]] + parent = "成长路线图" + name = "安全技术路线图" + url = "https://codechina.gitcode.host/developer-roadmap/security/intro/" + weight = 5 + + [[menu.main]] + parent = "成长路线图" + name = "云原生路线图" + url = "https://codechina.gitcode.host/developer-roadmap/cloud-native/intro/" + weight = 6 + [[menu.main]] parent = "成长路线图" name = "AI 路线图" url = "https://codechina.gitcode.host/developer-roadmap/ai/intro/" - weight = 1 + weight = 7 [[menu.main]] parent = "成长路线图" - name = "安全技术路线图" - url = "" - weight = 2 + name = "音视频路线图" + url = "https://codechina.gitcode.host/developer-roadmap/av/intro/" + weight = 8 + + [[menu.main]] + parent = "成长路线图" + name = "区块链路线图" + url = "https://codechina.gitcode.host/developer-roadmap/blockchain/intro/" + weight = 9 + + [[menu.main]] + parent = "成长路线图" + name = "鸿蒙OS路线图" + url = "https://codechina.gitcode.host/developer-roadmap/harmonyos/intro/" + weight = 10 [[menu.main]] parent = "成长路线图" name = "Python 路线图" url = "https://codechina.gitcode.host/developer-roadmap/python/intro/" - weight = 3 + weight = 11 [[menu.main]] parent = "成长路线图" - name = "DevOps 路线图" - url = "https://codechina.gitcode.host/developer-roadmap/DevOps/info/" - weight = 4 + name = "Go 路线图" + url = "https://codechina.gitcode.host/developer-roadmap/go/intro/" + weight = 12 + + [[menu.main]] + parent = "成长路线图" + name = "Rust 路线图" + url = "https://codechina.gitcode.host/developer-roadmap/rust/intro/" + weight = 13 [[menu.main]] name = "CODE CHINA" diff --git a/content/senior/10.md b/content/senior/10.md index bbfe360cb0f61456d7deb784ddef831cc1e8c39d..8841b1105359a80e64f469d5db128a797b09904b 100644 --- a/content/senior/10.md +++ b/content/senior/10.md @@ -2,7 +2,7 @@ title: "智能化" date: 2018-12-29 lastmod: 2020-01-05 -weight: 3 +weight: 10 type: icon: # description: "智能化" diff --git a/content/senior/11.md b/content/senior/11.md index def4a2a083e1b1d3b882b41cb7ca31b9745231f0..4bcf07d86cb954040bd838fc8ae690dca7be857e 100644 --- a/content/senior/11.md +++ b/content/senior/11.md @@ -2,7 +2,7 @@ title: "多媒体" date: 2018-12-29 lastmod: 2020-01-05 -weight: 3 +weight: 11 type: icon: # description: "多媒体" diff --git a/content/senior/8.md b/content/senior/8.md index 518e669fcb68c17e76763d89fbf53cf938a602ff..70eac1b8ddbde9063dcdb588ce624bbec9216401 100644 --- a/content/senior/8.md +++ b/content/senior/8.md @@ -2,7 +2,7 @@ title: "跨端技术" date: 2018-12-29 lastmod: 2020-01-05 -weight: 3 +weight: 9 type: icon: # description: "跨端技术" diff --git a/content/senior/9.md b/content/senior/9.md index 767954fc62ed78aef90bc33e7609f90f5a739519..480ef35873355e6087d1ba233d08ec1e296ce648 100644 --- a/content/senior/9.md +++ b/content/senior/9.md @@ -2,7 +2,7 @@ title: "互动技术" date: 2018-12-29 lastmod: 2020-01-05 -weight: 3 +weight: 9 type: icon: # description: "互动技术" diff --git a/themes/dot/layouts/partials/head.html b/themes/dot/layouts/partials/head.html index 64ae6448b25d9e4324b6fbef2823c98fee4da891..29ae4e7832146038f52061e1558963ca974ef611 100644 --- a/themes/dot/layouts/partials/head.html +++ b/themes/dot/layouts/partials/head.html @@ -55,5 +55,13 @@ {{ else }} {{ "" | safeHTML }} {{ end }} - + diff --git a/themes/dot/static/plugins/code.png b/themes/dot/static/plugins/code.png new file mode 100644 index 0000000000000000000000000000000000000000..8ff3d94699e9d8cd2157546db74dfe1a9ae33582 Binary files /dev/null and b/themes/dot/static/plugins/code.png differ diff --git a/themes/dot/static/plugins/themify-icons/themify-icons.css b/themes/dot/static/plugins/themify-icons/themify-icons.css index db133b8fc80480f1683e4ea574985301744a9635..27b891157e1b19016271ce3e81555ce0536c1266 100644 --- a/themes/dot/static/plugins/themify-icons/themify-icons.css +++ b/themes/dot/static/plugins/themify-icons/themify-icons.css @@ -1304,6 +1304,14 @@ content: "\e73f"; } +.ti-code:before { + background: url(../code.png) center / cover; + content: ""; + width: 20px; + height: 20px; + display: block; +} + .ti-flickr:before { content: "\e740"; }