diff --git a/Plugin.php b/Plugin.php index 89cdc0e..b4a8e46 100644 --- a/Plugin.php +++ b/Plugin.php @@ -74,7 +74,7 @@ class Comment2Wechat_Plugin implements Typecho_Plugin_Interface $sckey = $options->plugin('Comment2Wechat')->sckey; $text = "有人在您的博客发表了评论"; - $desp = "**".$comment['author']."** 在你的博客中说到:\n\n > ".$comment['text']; + $desp = "**".$comment['author']."** 在 [「".$post->title."」](".$post->permalink." \"".$post->title."\") 中说到: \n\n > ".$comment['text']; $postdata = http_build_query( array( diff --git a/README.md b/README.md index 3e206ae..9beb81b 100644 --- a/README.md +++ b/README.md @@ -12,6 +12,14 @@ 3. 将你申请到的 `SCKEY` 填到插件设置里,保存即可 - ## 截图 +## 截图 -![微信截图](wechat.png) \ No newline at end of file +![微信截图](wechat.png) + +## 更新记录 + + - v1.1(180220) + - [+]消息添加文章标题和链接 + + - v1.0(160720) + - init