Skip to content

Commit

Permalink
0.955
Browse files Browse the repository at this point in the history
  • Loading branch information
solstice23 committed May 2, 2020
1 parent 13e693f commit 5973e84
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,12 @@ Argon 使用 [GPL V3.0](https://github.com/solstice23/argon-theme/blob/master/LI

# 更新日志

## 20200503 v0.955
+ 404 页适配夜间模式和暗黑模式
+ 侧栏菜单适配新标签页打开选项
+ 支持可选的加密文章密码提示 (新建名为 `password_hint` 的 Meta 项)
+ 修复说说标题过长溢出问题

## 20200501 v0.954
+ 增加 "美化登录界面" 选项 (Wordpress 登录界面 Argon Design 化)
+ 修复 QQ 号获取的头像在后台显示异常问题
Expand Down
2 changes: 1 addition & 1 deletion sidebar.php
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ public function end_lvl( &$output, $depth = 0, $args = array() ) {
public function start_el( &$output, $object, $depth = 0, $args = array(), $current_object_id = 0 ) {
$output .= "\n
<li class='leftbar-menu-item" . ( $args -> walker -> has_children == 1 ? " leftbar-menu-item-haschildren" : "" ) . ( $object -> current == 1 ? " current" : "" ) . "'>
<a href='" . $object -> url . "'" . ( $args -> walker -> has_children == 1 ? " no-pjax onclick='return false;'" : "" ) . ">". $object -> title . "</a>";
<a href='" . $object -> url . "'" . ( $args -> walker -> has_children == 1 ? " no-pjax onclick='return false;'" : "" ) . " target='" . $object -> target . "'>". $object -> title . "</a>";
}
public function end_el( &$output, $object, $depth = 0, $args = array(), $current_object_id = 0 ) {
if ($depth == 0){
Expand Down

0 comments on commit 5973e84

Please sign in to comment.