diff --git a/config.toml b/config.toml index a764ca1b391db95dde2ae97e91a2be66d39bd8af..b19261316d7ff47af73f378aac98a9ee9ef18480 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/cloud-native/intro" @@ -83,7 +83,6 @@ weight = 3 name = "高阶" url = "/senior" weight = 4 - # Dropdown menu [[menu.main]] weight = 5 @@ -92,28 +91,76 @@ hasChildren = true [[menu.main]] parent = "成长路线图" - name = "AI 路线图" - url = "https://codechina.gitcode.host/developer-roadmap/ai/intro/" + name = "前端开发路线图" + url = "https://codechina.gitcode.host/developer-roadmap/frontend/intro/" weight = 1 [[menu.main]] parent = "成长路线图" - name = "安全技术路线图" - url = "" + name = "后端开发路线图" + url = "https://codechina.gitcode.host/developer-roadmap/backend/intro/" weight = 2 [[menu.main]] parent = "成长路线图" - name = "Python 路线图" - url = "https://codechina.gitcode.host/developer-roadmap/python/intro/" + name = "DevOps 路线图" + url = "https://codechina.gitcode.host/developer-roadmap/devops/intro/" weight = 3 [[menu.main]] parent = "成长路线图" - name = "DevOps 路线图" - url = "https://codechina.gitcode.host/developer-roadmap/DevOps/info/" + 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 = "AI 路线图" + url = "https://codechina.gitcode.host/developer-roadmap/ai/intro/" + weight = 7 + + [[menu.main]] + parent = "成长路线图" + 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 = 11 + + [[menu.main]] + parent = "成长路线图" + 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" url = "https://codechina.csdn.net/" 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"; }