Skip to content

Commit

Permalink
up
Browse files Browse the repository at this point in the history
  • Loading branch information
slipperstree committed Oct 11, 2023
1 parent cb77f63 commit 485a66c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion Plugin.php
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ public static function contentEx( $html, $widget, $lastResult ) {

if ($seriesContent['slug'] == $slug) {
// 当前文章不加link
$seriesIndexHtml .= "<li><b>" . $seriesContent['title'] . "</b>【当前阅览】</li>";
$seriesIndexHtml .= "<li><b>" . $seriesContent['title'] . "</b>【当前阅览中】</li>";
} else {
$seriesIndexHtml .= "<li><a href='" . $url . "' title='" . $seriesContent['title'] . "'>" . $seriesContent['title'] . "</a></li>";
}
Expand Down
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ http://blog.mangolovecarrot.net/2015/05/17/raspi-study06/
- 第3篇的slug指定为:pystudy03
...


要求只有两个:
1. 同系列的slug前缀必须一样
2. 在前缀后面必须是数字(可以是任意位数,且同系列之间推荐使用相同位数的左补0数字,当然这不是必须的,但有可能影响列表的排序)
Expand Down

0 comments on commit 485a66c

Please sign in to comment.