From d8cf19ca6df7b149300a8f914d4ffeb543366358 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=AA=E5=AD=90?= Date: Sat, 18 May 2024 18:50:37 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8E=BB=E6=8E=89=E4=BA=86=E5=85=B3=E4=BA=8E?= =?UTF-8?q?=E8=AF=84=E8=AE=BA=E6=A0=87=E9=A2=98=E7=9A=84=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 28 ++++++++++++++++++++++++---- comments.php | 2 +- 2 files changed, 25 insertions(+), 5 deletions(-) diff --git a/README.md b/README.md index 34b7dfc..8ce44c9 100644 --- a/README.md +++ b/README.md @@ -1,21 +1,41 @@ ## 说明 -移植自`hugo-theme-farallon` + +移植自`hugo-theme-farallon` 原汁原味,可以直接使用 原主题的CSS 和 JS. + + ## 原项目地址 https://github.com/bigfa/hugo-theme-farallon ## 进度 -80% +90% + +由于typecho分类并无图片,所以默认使用 +`bigfa` 的 `https://static.fatesinger.com/2021/12/vhp6eou5x2wqh2zy.jpg` +可以自行替换或者删除 + ## 功能 -### 豆瓣观影 -配合`DoubanBoard`插件使用 +### 豆瓣观影 +* 能力有限原项目功能无法实现 * + +目前只能配合`DoubanBoard`插件使用 + 项目地址 https://github.com/AlanDecode/Typecho-Plugin-DoubanBoard !!记得重命名文件夹为`DoubanBoard` ### 友情链接 + 基于 `links` 插件实现 + 可使用 `寒泥` 大佬制作的版本或者其他版本 +### 首页摘要 + +若使用AI摘要插件则显示AI摘要,不使用则显示默认字数摘要 + +## 预览地址 + +https://www.imsun.org \ No newline at end of file diff --git a/comments.php b/comments.php index ac75ce2..c6c3b4b 100644 --- a/comments.php +++ b/comments.php @@ -12,7 +12,7 @@ d="M1.751 10c0-4.42 3.584-8 8.005-8h4.366c4.49 0 8.129 3.64 8.129 8.13 0 2.96-1.607 5.68-4.196 7.11l-8.054 4.46v-3.69h-.067c-4.49.1-8.183-3.51-8.183-8.01zm8.005-6c-3.317 0-6.005 2.69-6.005 6 0 3.37 2.77 6.08 6.138 6.01l.351-.01h1.761v2.3l5.087-2.81c1.951-1.08 3.163-3.13 3.163-5.36 0-3.39-2.744-6.13-6.129-6.13H9.756z"> - commentsNum(_t('暂无评论'), _t('仅有 1 条评论'), _t('已有 %d 条评论')); ?> + commentsNum(_t(''), _t('1'), _t('%d')); ?> have()): ?> listComments(); ?>