修复url渲染逻辑
This commit is contained in:
1 parent
645fb0443e
commit
56a196e815
28 files changed
+34
-2
No files matched your search
+2
-2
@@ -38,9 +38,9 @@ if (-not [string]::IsNullOrWhiteSpace($tagsInput)) {
|
||||
}
|
||||
|
||||
# 5. 获取作者
|
||||
$author = Read-Host "请输入作者 (选填,默认为 '小赵同学')"
|
||||
$author = Read-Host "请输入作者 (选填,默认为 '小赵')"
|
||||
if ([string]::IsNullOrWhiteSpace($author)) {
|
||||
$author = "小赵同学"
|
||||
$author = "小赵"
|
||||
}
|
||||
|
||||
# 6. 生成文件夹和文件名 (Page Bundles 模式: YYYY/YYYY-MM-DD-Slug/index.md)
|
||||
|
||||
Reference in new issue
Block a user