diff --git a/assets/css/_common/components/post/post-followme.scss b/assets/css/_common/components/post/post-followme.scss index 34cfec9..ba7450e 100644 --- a/assets/css/_common/components/post/post-followme.scss +++ b/assets/css/_common/components/post/post-followme.scss @@ -4,6 +4,8 @@ padding: 1em 1.5em; text-align: center; @include post-card(); + border-left: none; + border-bottom: #46b404 solid 5px; .social-list { @include flex-wrap(); diff --git a/assets/css/main.scss b/assets/css/main.scss index 993a7c9..9ef40a6 100644 --- a/assets/css/main.scss +++ b/assets/css/main.scss @@ -70,7 +70,7 @@ $toc_wrap: {{ $P.toc.wrap }}; // Posts $creative_commons_post: {{ $P.creativeCommons.post }}; -$follow_me: {{ isset $P "followMe" }}; +$follow_me: {{ isset $P "followme" }}; $motion_trans_coll_header: {{ $P.motion.transition.collHeader }}; $motion_trans_post_block: {{ $P.motion.transition.postBlock }}; $motion_trans_post_body: {{ $P.motion.transition.postBody }}; diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml index 5682d46..2481578 100644 --- a/exampleSite/config.yaml +++ b/exampleSite/config.yaml @@ -352,10 +352,10 @@ params: # Subscribe through Telegram Channel, Twitter, etc. # Usage: `Key: permalink || icon` (Font Awesome) followMe: - Twitter: https://twitter.com/username || fab fa-twitter - #Telegram: https://t.me/channel_name || fab fa-telegram - #WeChat: /images/wechat_channel.jpg || fab fa-weixin - #RSS: /atom.xml || fa fa-rss + #channel0: Twitter || https://twitter.com/username || fab fa-twitter + #channel1: Telegram || https://t.me/channel_name || fab fa-telegram + channel2: WeChat || /images/wechat_channel.jpg || fab fa-weixin + channel3: RSS || /atom.xml || fa fa-rss # Related popular posts # Dependencies: https://github.com/sergeyzwezdin/hexo-related-posts diff --git a/i18n/en-us.yaml b/i18n/en-us.yaml index 853f472..7124b76 100644 --- a/i18n/en-us.yaml +++ b/i18n/en-us.yaml @@ -68,6 +68,9 @@ PostCRLicenseTitle: PostCRLicenseContent: other: "All articles in this blog are licensed under %s unless stating additionally." +PostFollowMe: + other: Welcome to my other publishing channels + VisitorsLabel: other: Total Visitors PageViewsLabel: diff --git a/i18n/zh-cn.yaml b/i18n/zh-cn.yaml index 4c05500..a7b6959 100644 --- a/i18n/zh-cn.yaml +++ b/i18n/zh-cn.yaml @@ -70,6 +70,9 @@ PostCRLicenseTitle: PostCRLicenseContent: other: "本博客所有文章除特别声明外,均采用 %s 许可协议。转载请注明出处!" +PostFollowMe: + other: 欢迎关注我的其它发布渠道 + UserVistorsLabel: other: 总访客量 PageViewsLabel: diff --git a/layouts/partials/post/post_followme.html b/layouts/partials/post/post_followme.html new file mode 100644 index 0000000..ba25ed3 --- /dev/null +++ b/layouts/partials/post/post_followme.html @@ -0,0 +1,21 @@ +{{- with .Site.Params.followMe }} +