From a99e3708976cb96e0f7ddc42683cc3c48761d43b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=B5=AA=E5=AD=90?= Date: Fri, 24 May 2024 15:56:49 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E5=8A=9F=E8=83=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- README.md | 4 ++++ page-memos.php | 3 ++- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 6c05f89..6751e40 100644 --- a/README.md +++ b/README.md @@ -3,6 +3,10 @@ 移植自`hugo-theme-farallon` 原汁原味,可以直接使用 原主题的CSS 精简部分 JS. +2024.5.24 +新增了说说页面,基于memos 0.19 以下的版本 +在后台设置memos的地址和memoID即可 +默认获取最近20条公开的memo ## 原项目地址 https://github.com/bigfa/hugo-theme-farallon diff --git a/page-memos.php b/page-memos.php index d7a7349..ce9d93d 100644 --- a/page-memos.php +++ b/page-memos.php @@ -9,6 +9,7 @@ if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>

title() ?>

+

content(); ?>

@@ -33,7 +34,7 @@ if (99) { ${data.date} -
+
# ${data.tag}
${mdContent}