chatgpt真好用

This commit is contained in:
浪子 2024-05-22 14:39:53 +08:00
parent 91743cbaad
commit cc3611d417
1 changed files with 2 additions and 2 deletions

View File

@ -33,7 +33,7 @@ if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
}
$year = $year_tmp;
$mon = 0; // 重置月份
$output .= '<div class="archive-year"><h2 class="archive--title__year">' . $year . '</h2>'; // 开始新的年份div
$output .= '<div class="archive-year"><h2 class="archive--title__year">' . $year . '</h2>'; // 开始新的年份div
}
// 检查是否需要新的月份标题
@ -42,7 +42,7 @@ if (!defined('__TYPECHO_ROOT_DIR__')) exit; ?>
$output .= '</ul>'; // 结束上一个月份的列表
}
$mon = $mon_tmp;
$output .= '<h3 class="archive--title__month">' . $mon . '月</h3>';
$output .= '<h3 class="archive--title__month"></h3>';// '. $mon . '
$output .= '<ul class="archive--list">'; // 开始新的月份列表
}