修复url渲染逻辑
This commit is contained in:
1 parent
645fb0443e
commit
56a196e815
28 files changed
+34
-2
No files matched your search
@@ -0,0 +1,21 @@
|
|||||||
|
{
|
||||||
|
"permissions": {
|
||||||
|
"allow": [
|
||||||
|
"Bash(ls -la \"E:/GitHub/Another-Blog/themes/Amigo/layouts/shortcodes/\")",
|
||||||
|
"Read(//e/GitHub/Another-Blog/themes/Amigo/layouts/shortcodes/**)",
|
||||||
|
"Bash(ls -la \"E:/GitHub/Another-Blog/themes/Amigo/layouts/_default/\")",
|
||||||
|
"Read(//e/GitHub/Another-Blog/themes/Amigo/layouts/_default/**)",
|
||||||
|
"Read(//e/GitHub/Another-Blog/content/posts/2026/202604300004/**)",
|
||||||
|
"Read(//e/GitHub/Another-Blog/content/posts/2026/202604300005/**)",
|
||||||
|
"Read(//e/GitHub/Another-Blog/content/posts/2026/202605032154/**)",
|
||||||
|
"Read(//e/GitHub/Another-Blog/content/posts/2026/202605091907/**)",
|
||||||
|
"Read(//e/GitHub/Another-Blog/content/posts/2026/202605091914/**)",
|
||||||
|
"Read(//e/GitHub/Another-Blog/content/posts/2026/202605091921/**)",
|
||||||
|
"Read(//e/GitHub/Another-Blog/content/posts/2026/202604300006/**)",
|
||||||
|
"Bash(cmd //c \"taskkill /F /PID 40384\")"
|
||||||
|
],
|
||||||
|
"additionalDirectories": [
|
||||||
|
"E:\\GitHub\\Another-Blog"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -0,0 +1,7 @@
|
|||||||
|
{
|
||||||
|
"permissions": {
|
||||||
|
"allow": [
|
||||||
|
"Bash(awk '{print $5}')"
|
||||||
|
]
|
||||||
|
}
|
||||||
|
}
|
||||||
@@ -39,3 +39,5 @@ static/pics/hugo/湖北三资运维问题记录
|
|||||||
node_modules/
|
node_modules/
|
||||||
.env
|
.env
|
||||||
.env.*
|
.env.*
|
||||||
|
|
||||||
|
.elog.env
|
||||||
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
+2
-2
@@ -38,9 +38,9 @@ if (-not [string]::IsNullOrWhiteSpace($tagsInput)) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
# 5. 获取作者
|
# 5. 获取作者
|
||||||
$author = Read-Host "请输入作者 (选填,默认为 '小赵同学')"
|
$author = Read-Host "请输入作者 (选填,默认为 '小赵')"
|
||||||
if ([string]::IsNullOrWhiteSpace($author)) {
|
if ([string]::IsNullOrWhiteSpace($author)) {
|
||||||
$author = "小赵同学"
|
$author = "小赵"
|
||||||
}
|
}
|
||||||
|
|
||||||
# 6. 生成文件夹和文件名 (Page Bundles 模式: YYYY/YYYY-MM-DD-Slug/index.md)
|
# 6. 生成文件夹和文件名 (Page Bundles 模式: YYYY/YYYY-MM-DD-Slug/index.md)
|
||||||
|
|||||||
@@ -40,6 +40,8 @@
|
|||||||
<link rel="alternate" type="application/rss+xml" title="{{ site.Title }}" href="/rss.xml">
|
<link rel="alternate" type="application/rss+xml" title="{{ site.Title }}" href="/rss.xml">
|
||||||
<!-- Favicon -->
|
<!-- Favicon -->
|
||||||
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
<link rel="icon" type="image/x-icon" href="/favicon.ico">
|
||||||
|
<!-- Analytics -->
|
||||||
|
<script async src="https://019e3dec-3312-7873-862a-3f56ac99ea83.spst2.com/ustat.js"></script>
|
||||||
<script>
|
<script>
|
||||||
(function () {
|
(function () {
|
||||||
try {
|
try {
|
||||||
|
|||||||
Reference in new issue
Block a user