From ed5e4803d1aa5710ba4729e5064c39331d6cc6ae Mon Sep 17 00:00:00 2001 From: shenyu <448766534@qq.com> Date: Mon, 3 Feb 2020 11:40:27 +0800 Subject: [PATCH] feat: share button enable --- _config.yml | 4 ++++ layout/_partial/article.ejs | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/_config.yml b/_config.yml index 05a2323..8a293c4 100644 --- a/_config.yml +++ b/_config.yml @@ -38,8 +38,12 @@ progressBar: ture # 文章配置 # 文章太长,截断按钮文字(在需要截断的行增加此标记:) excerpt_link: 阅读更多... + +# 是否开启文章分享按钮 +share_enable: true # 文章分享文字 share_text: 分享 + # 分页文字 nav_text: page_prev: 上一页 diff --git a/layout/_partial/article.ejs b/layout/_partial/article.ejs index 7e790ec..26d6832 100644 --- a/layout/_partial/article.ejs +++ b/layout/_partial/article.ejs @@ -41,8 +41,9 @@ <% } %>