From fdedbb9e62816840db692726a419397186e06093 Mon Sep 17 00:00:00 2001 From: qinhua <352484005@qq.com> Date: Sat, 27 Nov 2021 22:59:01 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E7=A4=BE=E4=BA=A4=E6=B8=A0?= =?UTF-8?q?=E9=81=93Telegram?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- settings.yaml | 6 ++++++ template/module/social.ftl | 13 +++++++++---- 2 files changed, 15 insertions(+), 4 deletions(-) diff --git a/settings.yaml b/settings.yaml index 813d3da..eb87121 100644 --- a/settings.yaml +++ b/settings.yaml @@ -2324,6 +2324,12 @@ social: defaut: "" # default: "https://www.zhihu.com" placeholder: "知乎主页地址" + telegram: + name: telegram + label: Telegram + type: text + defaut: "" + placeholder: "Telegram主页地址" juejin: name: juejin label: 掘金 diff --git a/template/module/social.ftl b/template/module/social.ftl index 8269f50..b5b0913 100644 --- a/template/module/social.ftl +++ b/template/module/social.ftl @@ -1,6 +1,6 @@ <#-- 社交账号模板 --> -<#if settings.github?? || settings.zhihu?? || settings.juejin?? || settings.bilibili?? || settings.qq?? || settings.weibo?? || settings.email?? || settings.custome_social_channel??> +<#if settings.github?? || settings.gitee?? || settings.zhihu?? || settings.telegram?? || settings.juejin?? || settings.bilibili?? || settings.qq?? || settings.weibo?? || settings.email?? || settings.custome_social_channel??>
<#if settings.github??>