diff --git a/_config.yml b/_config.yml index b2021c79c3..6a65a36001 100644 --- a/_config.yml +++ b/_config.yml @@ -191,7 +191,6 @@ social: #YouTube: https://youtube.com/yourname || youtube #Instagram: https://instagram.com/yourname || instagram #Skype: skype:yourname?call|chat || skype - #RSS: /atom.xml || rss social_icons: enable: true @@ -277,6 +276,14 @@ reward: #alipay: /images/alipay.png #bitcoin: /images/bitcoin.png +# Subscribe through Telegram Channel, Twitter, etc. +# Usage: `Key: permalink || icon (Font Awesome) +follow_me: + #Twitter: https://twitter.com/username || twitter + #Telegram: https://t.me/channel_name || telegram + #Wechat: /images/wechat_channel.jpg || wechat + #RSS: /atom.xml || rss + # Related popular posts # Dependencies: https://github.com/tea3/hexo-related-popular-posts related_posts: @@ -669,7 +676,6 @@ rating: # Go to https://www.addthis.com/dashboard to customize your tools. add_this_id: - # --------------------------------------------------------------- # Statistics and Analytics # See: https://theme-next.org/docs/third-party-services/statistics-and-analytics diff --git a/languages/en.yml b/languages/en.yml index df16c4416c..6da4c12d4f 100644 --- a/languages/en.yml +++ b/languages/en.yml @@ -89,6 +89,9 @@ reward: alipay: Alipay bitcoin: Bitcoin +follow_me: + welcome: Welcome to my other publishing channels + accessibility: nav_toggle: Toggle navigation bar prev_page: Previous page diff --git a/languages/zh-CN.yml b/languages/zh-CN.yml index b884f356ee..5dce8a7529 100644 --- a/languages/zh-CN.yml +++ b/languages/zh-CN.yml @@ -76,6 +76,8 @@ reward: wechatpay: 微信支付 alipay: 支付宝 bitcoin: 比特币 +follow_me: + welcome: 欢迎关注我的其它发布渠道 accessibility: nav_toggle: 切换导航栏 prev_page: 上一页 diff --git a/languages/zh-HK.yml b/languages/zh-HK.yml index eae01c1d62..1465958447 100644 --- a/languages/zh-HK.yml +++ b/languages/zh-HK.yml @@ -76,6 +76,8 @@ reward: wechatpay: 微信支付 alipay: 支付寶 bitcoin: 比特幣 +follow_me: + welcome: 歡迎關注我的其它發布渠道 accessibility: nav_toggle: 切換導航欄 prev_page: 上一頁 diff --git a/languages/zh-TW.yml b/languages/zh-TW.yml index cfa5cce9f8..edeecede24 100644 --- a/languages/zh-TW.yml +++ b/languages/zh-TW.yml @@ -76,6 +76,8 @@ reward: wechatpay: 微信支付 alipay: 支付寶 bitcoin: 比特幣 +follow_me: + welcome: 歡迎關注我的其它發布渠道 accessibility: nav_toggle: 切換導航欄 prev_page: 上一頁 diff --git a/layout/_macro/post.swig b/layout/_macro/post.swig index 8372ee87ef..9e9facfe0a 100644 --- a/layout/_macro/post.swig +++ b/layout/_macro/post.swig @@ -228,6 +228,10 @@ {{ partial('_partials/post/post-copyright.swig') }} {%- endif %} + {%- if theme.follow_me %} + {{ partial('_partials/post/post-followme.swig', {}, {cache: theme.cache.enable}) }} + {%- endif %} +