diff --git a/settings.yaml b/settings.yaml index 187e825..d579d2f 100644 --- a/settings.yaml +++ b/settings.yaml @@ -110,8 +110,20 @@ spec: value: github - label: Tailwind CSS Typography value: tailwind + - $formkit: checkbox + name: show_upvote_button + label: 显示点赞按钮 + value: true + - $formkit: checkbox + name: show_share_button + id: show_share_button + label: 显示分享按钮 + value: true - $formkit: repeater + if: $get(show_share_button).value name: share_items + key: share_items + id: share_items label: 分享按钮 value: - id: wechat diff --git a/templates/post.html b/templates/post.html index e5c10f6..5971b90 100644 --- a/templates/post.html +++ b/templates/post.html @@ -59,7 +59,11 @@

-
+
@@ -94,6 +98,7 @@