diff --git a/content/zh-cn/docs/campus/_index.md b/content/zh-cn/docs/campus/_index.md index 76677b53..ea7bb789 100644 --- a/content/zh-cn/docs/campus/_index.md +++ b/content/zh-cn/docs/campus/_index.md @@ -6,4 +6,4 @@ collapsible: true 民间有对各个大学的生活质量的问卷结果可以[在此](https://colleges.chat)查阅 -提示:可以通过Ctrl+F或其他类似功能在本页进行搜索。 \ No newline at end of file +提示:可以通过Ctrl+F或其他类似功能在本页进行搜索。 diff --git a/content/zh-cn/docs/friendship/index.md b/content/zh-cn/docs/friendship/index.md index ca523654..9b997c88 100644 --- a/content/zh-cn/docs/friendship/index.md +++ b/content/zh-cn/docs/friendship/index.md @@ -16,8 +16,8 @@ weight: 10 ### Telegram 交流群 {#tg-group} -- 逆光小鎮 联系[@rikablossom](https://t.me/rikablossom)加入 -- 跨兒音遊組 [@otoge_trans](https://t.me/otoge_trans) +- 逆光小镇:联系 加入 +- 跨儿音游组: ### 跨性别相关 bot(QQ){#trans-related-bot} @@ -32,15 +32,15 @@ weight: 10 跨性别文档整理,资讯转发。欢迎私信、邮件,或者在 Twitter 上提到我们。 -- Twitter: -- Telegram: -- 邮箱: +- Twitter: +- Telegram: +- 邮箱: ### 猫猫大陆 Minecraft -一个关注跨性别权益的 Minecraft 玩家群体与游戏服务器 +一个关注跨性别权益的 Minecraft 玩家群体与游戏服务器 -### FtM (Female to Male) Wiki +### FtM (Female-to-Male) Wiki diff --git a/content/zh-cn/docs/srs/china/xagj.md b/content/zh-cn/docs/srs/china/xagj.md index 65cd6a05..3e34794e 100644 --- a/content/zh-cn/docs/srs/china/xagj.md +++ b/content/zh-cn/docs/srs/china/xagj.md @@ -3,7 +3,7 @@ title: 西安|国际医学中心医院整形医院 weight: 35 --- -[西安国际医学中心医院整形医院](http://www.imc-xa.cn/) +[西安国际医学中心医院整形医院](http://www.imc-xa.cn) 交通: 西安市长安区西太公路777号(地铁6号线“西安国际医学中心医院”站) @@ -13,7 +13,7 @@ weight: 35 ## 新闻报道 -[全国首例达芬奇手术机器人性别重置术在西安国际医学中心成功实施](https://xw.qq.com/cmsid/20210529A036TX00?f=newdc) +[全国首例达芬奇手术机器人性别重置术在西安国际医学中心成功实施](https://xw.qq.com/cmsid/20210529A036TX00) > 2021年5月28日,西安国际医学中心医院整形医院顺利完成了全国首例达芬奇机器人性别重置手术。手术由西安国际医学中心医院整形医院院长郭树忠教授、妇科肿瘤医院王海琳院长,以及泌尿外科杨增悦主任共同主刀完成。 > 郭树忠教授做性别重置手术已经二十多年,手术经验非常丰富,但如何用最小的代价,获得最好的效果,把手术风险降到最低,一直是郭教授团队持续努力研究改进的方向。此次使用达芬奇机器人手术,视野更加清晰,操作更加精准,创伤更小,风险更低、效果更好。 diff --git a/content/zh-cn/docs/srs/thailand/chettawut/index.md b/content/zh-cn/docs/srs/thailand/chettawut/index.md index 3a22ed61..eb8288a0 100644 --- a/content/zh-cn/docs/srs/thailand/chettawut/index.md +++ b/content/zh-cn/docs/srs/thailand/chettawut/index.md @@ -15,12 +15,12 @@ weight: 41 电话:{{< telephone "+66 0-2078-8919" >}} -[![LINE wihhospital](https://img.shields.io/static/v1?label=LINE&logo=LINE&message=wihhospital&color=00C300&style=flat-square)](https://page.line.me/wihhospital) +[{{< shields-line "wihhospital" >}}](https://page.line.me/wihhospital) [官网介绍](https://wihhospital.com/procedure/UHJvY2VkdXJlOjI4MQ==) - -医疗中介:梁金 ![微信 liangjin3039](https://img.shields.io/static/v1?label=%E5%BE%AE%E4%BF%A1&logo=WeChat&message=liangjin3039&color=07C160&style=flat-square) ![LINE jin235](https://img.shields.io/static/v1?label=LINE&logo=LINE&message=jin235&color=00C300&style=flat-square) 微信公众号「破茧成碟BY梁金」 +医疗中介:梁金 {{< shields-line "liangjin3039" >}}、{{< shields-wechat "jin235" >}}、 +微信公众号「破茧成碟BY梁金」 ### 价格 diff --git a/content/zh-cn/docs/srs/thailand/greechart/index.md b/content/zh-cn/docs/srs/thailand/greechart/index.md index d66914da..29a0a328 100644 --- a/content/zh-cn/docs/srs/thailand/greechart/index.md +++ b/content/zh-cn/docs/srs/thailand/greechart/index.md @@ -9,8 +9,8 @@ weight: 46 中文热线:{{< telephone "+66 89-794-0811" >}} 邮箱: -Line ID:`miladahospital` -微信:`Milada0897940811` +LINE ID:{{< shields-line "miladahospital" >}} +微信:{{< shields-wechat "Milada0897940811" >}} ## 术后效果 diff --git a/content/zh-cn/docs/srs/thailand/thiti.md b/content/zh-cn/docs/srs/thailand/thiti.md index b0018aba..0e2a23b6 100644 --- a/content/zh-cn/docs/srs/thailand/thiti.md +++ b/content/zh-cn/docs/srs/thailand/thiti.md @@ -2,6 +2,7 @@ title: Thiti 医生 weight: 44 --- + 价格:6 万人民币(皮瓣) ## 医疗水平 diff --git a/content/zh-cn/docs/useful-info/organizations.md b/content/zh-cn/docs/useful-info/organizations.md index 42963c9b..138d148c 100644 --- a/content/zh-cn/docs/useful-info/organizations.md +++ b/content/zh-cn/docs/useful-info/organizations.md @@ -8,7 +8,7 @@ title: 公益组织 地区:北京 微信公众号:「北同文化」(`bjlgbtcenter`) -北同跨儿小助手 微信:`transbjlgbt` +北同跨儿小助手 微信:{{< shields-wechat "transbjlgbt" >}} 联系电话:{{< telephone "+86 010-6446-6970" >}} ## 跨儿说 diff --git a/content/zh-cn/docs/vocal-surgery/nanjing-tongren/index.md b/content/zh-cn/docs/vocal-surgery/nanjing-tongren/index.md index 93787f9c..c39e5bf2 100644 --- a/content/zh-cn/docs/vocal-surgery/nanjing-tongren/index.md +++ b/content/zh-cn/docs/vocal-surgery/nanjing-tongren/index.md @@ -15,9 +15,9 @@ aliases: ## 在线预约 -微信客服:`njtryeson2016` +微信客服:{{< shields-wechat "njtryeson2016" >}} QQ:`3040055353` -电话:`025-6698-8209` +电话:{{< telephone "+86 025-6698-8209" >}} ## 接诊时间 diff --git a/layouts/_default/_markup/render-link.html b/layouts/_default/_markup/render-link.html index 3c4ec5c1..8998ad7e 100644 --- a/layouts/_default/_markup/render-link.html +++ b/layouts/_default/_markup/render-link.html @@ -1,7 +1,10 @@ -{{- if hasPrefix .Destination "mailto:" -}} +{{- if hasPrefix .Destination "https://t.me/" -}} +@{{ slicestr .Destination 13 }} +{{- else if hasPrefix .Destination "mailto:" -}} {{- $text := replace (replace .Text "-" "--") "_" "__" -}} -{{- $icon := resources.GetRemote (printf "https://img.shields.io/badge/email-%s-blue.svg?style=flat-square" $text) -}} - + + + {{- else -}} {{- .Text | safeHTML -}} diff --git a/layouts/shortcodes/shields-line.html b/layouts/shortcodes/shields-line.html new file mode 100644 index 00000000..f2351b87 --- /dev/null +++ b/layouts/shortcodes/shields-line.html @@ -0,0 +1,3 @@ +{{- $message := .Get 0 -}} +{{- $qs := querify "label" "LINE" "logo" "LINE" "message" $message "color" "00C300" "style" "flat-square" -}} +LINE {{ $message }} \ No newline at end of file diff --git a/layouts/shortcodes/shields-wechat.html b/layouts/shortcodes/shields-wechat.html new file mode 100644 index 00000000..77e60692 --- /dev/null +++ b/layouts/shortcodes/shields-wechat.html @@ -0,0 +1,3 @@ +{{- $message := .Get 0 -}} +{{- $qs := querify "label" "微信" "logo" "WeChat" "message" $message "color" "07C160" "style" "flat-square" -}} +微信 {{ $message }} \ No newline at end of file