修复url渲染逻辑
This commit is contained in:
1 parent
cdda6a0bd8
commit
cbbbe67e30
27 files changed
+13
-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