添加文章作者,是否公众号同步

This commit is contained in:
1152958806@qq.com 2023-09-12 23:54:34 +08:00
parent 0d2901b4b2
commit bb80316385
2 changed files with 4 additions and 4 deletions

View File

@ -2302,7 +2302,7 @@ spec:
name: js name: js
label: Twikoo评论 - js label: Twikoo评论 - js
placeholder: 请输入js文件地址 placeholder: 请输入js文件地址
help: twikoo版本不是最新版本可以自己引入js文件 help: 主题的twikoo版本是最新版本(如果你使用的不是最新版本请自己引入js文件)
- group: style - group: style
label: 样式 label: 样式

View File

@ -60,12 +60,12 @@
</span> </span>
<span th:with="syncStatus=${#strings.isEmpty(#annotations.get(post, 'sync_status')) ? '未同步': #annotations.get(post, 'sync_status')}" <span th:with="syncStatus=${#strings.isEmpty(#annotations.get(post, 'sync_status')) ? '未同步': #annotations.get(post, 'sync_status')}"
class="post-meta-wechat" th:title=" ${pluginFinder.available('plugin-platforms-sync') && syncStatus == '同步' ? '该文章已在公众号中更新' : '该文章在博客首发'}"> class="post-meta-wechat" th:title=" ${pluginFinder.available('plugin-platforms-sync') && syncStatus == '同步更新文章成功' ? '该文章已在公众号中更新' : '该文章在博客首发'}">
<th:block th:if="${!pluginFinder.available('plugin-platforms-sync') || syncStatus != '同步'}"> <th:block th:if="${!pluginFinder.available('plugin-platforms-sync') || syncStatus != '同步更新文章成功'}">
<i class="haofont hao-icon-rss post-meta-icon"></i>博客独享 <i class="haofont hao-icon-rss post-meta-icon"></i>博客独享
</th:block> </th:block>
<th:block th:if="${pluginFinder.available('plugin-platforms-sync') && syncStatus == '同步'}"> <th:block th:if="${pluginFinder.available('plugin-platforms-sync') && syncStatus == '同步更新文章成功'}">
<i class="haofont hao-icon-weixin1 post-meta-icon"></i>公众号同步 <i class="haofont hao-icon-weixin1 post-meta-icon"></i>公众号同步
</th:block> </th:block>