From b51a0af80dd8cf2b806119c308a80d47a050b052 Mon Sep 17 00:00:00 2001 From: "kun.peng" Date: Sun, 20 Oct 2019 22:41:15 +0800 Subject: [PATCH] =?UTF-8?q?##=20v1.1=201.=20=E4=BF=AE=E6=94=B9`share`?= =?UTF-8?q?=E7=BB=84=E4=BB=B6=E6=A0=B7=E5=BC=8F=E3=80=82=202.=20=E4=BC=98?= =?UTF-8?q?=E5=8C=96`sharejs`=20=E6=A0=B7=E5=BC=8F=EF=BC=8C=E5=8E=BB?= =?UTF-8?q?=E6=8E=89`google+=20`=E7=AD=89=E5=88=86=E4=BA=AB=E3=80=82=203.?= =?UTF-8?q?=20=E5=A2=9E=E5=8A=A0=E9=98=85=E8=AF=BB=E9=87=8F=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- CHANGELOG.md | 5 ++++ layout/common/module.ftl | 8 +++---- layout/share/sharejs.ftl | 49 +++++++++++++++++++++++++++++++++++++++- theme.yaml | 2 +- 4 files changed, 57 insertions(+), 7 deletions(-) create mode 100644 CHANGELOG.md diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000..c092831 --- /dev/null +++ b/CHANGELOG.md @@ -0,0 +1,5 @@ + +## v1.1 +1. 修改`share`组件样式。 +2. 优化`sharejs` 样式,去掉`google+ `等分享。 +3. 增加阅读量显示。 diff --git a/layout/common/module.ftl b/layout/common/module.ftl index 083d88f..9b3b4ed 100644 --- a/layout/common/module.ftl +++ b/layout/common/module.ftl @@ -1,14 +1,12 @@ <#macro module name> <#if name == 'share'>
-
+<#--
--> <#-- --> <#-- --> <#-- --> -
-
-
-
+<#--
--> +
<#if settings.share_type?? && settings.share_type!=''> <#include "../share/${settings.share_type}.ftl"> diff --git a/layout/share/sharejs.ftl b/layout/share/sharejs.ftl index 009d962..6b1dd34 100644 --- a/layout/share/sharejs.ftl +++ b/layout/share/sharejs.ftl @@ -1,3 +1,50 @@ - + + \ No newline at end of file diff --git a/theme.yaml b/theme.yaml index b89a7d1..6ecb139 100644 --- a/theme.yaml +++ b/theme.yaml @@ -7,4 +7,4 @@ description: logo: website: https://www.imkun.dev repo: https://github.com/halo-dev/halo-theme-imkundev -version: 1.0 +version: 1.1