Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/reuixiy/hugo-theme-meme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMuhosia <curtaintears@gmail.com>2020-02-10 17:44:25 +0300
committerGitHub <noreply@github.com>2020-02-10 17:44:25 +0300
commiteae435953edbb106f256bac9afafeccb35d939a3 (patch)
tree0d1434fd2a259aef4853992d159f867c70c9c593 /config-examples/zh-cn
parent05dbf27674076656f9791dadc5d7fc44b8be563a (diff)
feat: support share on socials (#62)
* Add:Article sharing function * Add:Article sharing function-style revise(样式调整) * Mod:remove: share on google,add: share on telegram * mod:add config.toml-ShareTelegram * fix:telegram icon class * style: delete some spaces, rename some params ... adjust some positions, fix some typos * refactor: use flexbox layout * feat: support `share` in Front Matter * i18n * refactor: post-share.html * feat: support douban, qzone * feat: add brand color * feat: support qrcode Co-authored-by: reuixiy <reuixiy@gmail.com>
Diffstat (limited to 'config-examples/zh-cn')
-rw-r--r--config-examples/zh-cn/config.toml23
1 files changed, 23 insertions, 0 deletions
diff --git a/config-examples/zh-cn/config.toml b/config-examples/zh-cn/config.toml
index 58d0cb2..ffb0073 100644
--- a/config-examples/zh-cn/config.toml
+++ b/config-examples/zh-cn/config.toml
@@ -1019,6 +1019,29 @@ uglyURLs = false
######################################
+ # 文章分享
+
+ # 是否开启
+ enablePostShare = true
+
+ # 是否显示(全局设置)
+ displayPostShare = true
+ # 说明:文章的 Front Matter 中的 `share`
+ # 的优先级高于此处
+
+ shareOnTwitter = true
+ shareOnFacebook = true
+ shareOnLinkedIn = true
+ shareOnTelegram = true
+ shareOnWeibo = true
+ shareOnDouban = true
+ shareOnQQ = true
+ shareOnQzone = true
+
+ shareViaQRCode = true
+
+
+ ######################################
# 相关文章
# 是否开启