Skip to content

Commit 4b416b7

Browse files
fix: 修正 gallery.yml 中的脚本路径引用
1 parent a8f12ad commit 4b416b7

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

_data/gallery.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1 @@
1-
# 此文件由 scripts/generate-gallery.sh 自动生成,请勿手动编辑
2-
# 往 assets/img/gallery/ 文件夹中放入照片即可自动更新
1+
# 此文件由 _scripts/generate-gallery-r2.sh 自动生成,请勿手动编辑

_scripts/generate-gallery-r2.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ OUTPUT="_data/gallery.yml"
2727
ENDPOINT="https://${R2_ACCOUNT_ID}.r2.cloudflarestorage.com"
2828
SUPPORTED_EXT="jpg|jpeg|png|gif|webp|avif"
2929

30-
echo "# 此文件由 scripts/generate-gallery-r2.sh 自动生成,请勿手动编辑" > "$OUTPUT"
30+
echo "# 此文件由 _scripts/generate-gallery-r2.sh 自动生成,请勿手动编辑" > "$OUTPUT"
3131
echo "# 图片来源: ${R2_PUBLIC_URL}/${R2_PREFIX}" >> "$OUTPUT"
3232
echo "" >> "$OUTPUT"
3333

0 commit comments

Comments
 (0)