From 23bfb100cbbb5710d040208817486e7c718c59fa Mon Sep 17 00:00:00 2001 From: Cell <1024@lruihao.cn> Date: Wed, 21 Sep 2022 16:39:03 +0800 Subject: [PATCH] :memo: Docs: add TryHackMe social link (#197) --- CHANGELOG.md | 2 +- README.md | 2 +- README.zh-cn.md | 2 +- assets/data/social.yml | 14 +++++++++++--- config.toml | 3 ++- docs | 2 +- 6 files changed, 17 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bceec2a4..be5c67f0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -19,7 +19,7 @@ All notable changes to this project will be documented in this file. - :sparkles: Feat: add optional parameter `noreferrer` for the shortcode `link` - :sparkles: Feat: update echarts theme config - :sparkles: Feat: add noscript warning banner ([#194](https://github.com/hugo-fixit/FixIt/issues/194)) -- :sparkles: Feat: add 10 newly supported social links ([#175](https://github.com/hugo-fixit/FixIt/issues/175)) +- :sparkles: Feat: add 11 newly supported social links ([#175](https://github.com/hugo-fixit/FixIt/issues/175) [#197](https://github.com/hugo-fixit/FixIt/issues/197)) - :zap: Perf: remove extra spaces in plugin link - :wheelchair: Feat(accessibility): use `aria-hidden=true` on icons that AT should ignore - :recycle: Refactor: image rendering diff --git a/README.md b/README.md index 2ef0ace2..6fbd4e13 100644 --- a/README.md +++ b/README.md @@ -104,7 +104,7 @@ To see this theme in action, here are some live demo sites which are rendered wi * **Gravatar** supported by [Gravatar](https://gravatar.com) * Local **Avatar** supported -* Up to **73** social links supported +* Up to **85** social links supported * Up to **28** share sites supported * **Disqus** comment system supported by [Disqus](https://disqus.com) * **Gitalk** comment system supported by [Gitalk](https://github.com/gitalk/gitalk) diff --git a/README.zh-cn.md b/README.zh-cn.md index 40225831..21da937d 100644 --- a/README.zh-cn.md +++ b/README.zh-cn.md @@ -106,7 +106,7 @@ FixIt 主题继承了 LoveIt 等主题的优秀功能,并在它们的基础上 * 支持 **[Gravatar](https://gravatar.com)** 头像 * 支持本地**头像** -* 支持多达 **73** 种社交链接 +* 支持多达 **85** 种社交链接 * 支持多达 **28** 种网站分享 * 支持 **[Disqus](https://disqus.com)** 评论系统 * 支持 **[Gitalk](https://github.com/gitalk/gitalk)** 评论系统 diff --git a/assets/data/social.yml b/assets/data/social.yml index 23b5627e..bd064c49 100644 --- a/assets/data/social.yml +++ b/assets/data/social.yml @@ -641,9 +641,17 @@ feishu: Icon: Class: fa-solid fa-dove +# 082: TryHackMe +tryhackme: + Weight: 82 + Title: TryHackMe + Prefix: https://tryhackme.com/p/ + Icon: + Simpleicons: tryhackme + # Phone phone: - Weight: 98 + Weight: 997 Template: tel:%v Title: Phone Icon: @@ -651,7 +659,7 @@ phone: # Email email: - Weight: 99 + Weight: 998 Template: mailto:%v Title: Email Icon: @@ -659,7 +667,7 @@ email: # RSS rss: - Weight: 100 + Weight: 999 Url: /index.xml Title: RSS Newtab: true diff --git a/config.toml b/config.toml index 62c35ea6..964940c6 100644 --- a/config.toml +++ b/config.toml @@ -294,8 +294,9 @@ MediaWiki= "" Plume = "" HackTheBox = "" - RootMe= "" + RootMe = "" Feishu = "" + TryHackMe = "" Phone = "" Email = "" RSS = true diff --git a/docs b/docs index 64bfdb24..a216e50c 160000 --- a/docs +++ b/docs @@ -1 +1 @@ -Subproject commit 64bfdb24de8bd055ec5c179e7186b2d81c79f8af +Subproject commit a216e50c24e22ab459967c58a1f350bbd2fb223c