Skip to content

Commit dfd3def

Browse files
committed
fix: correctly render charts index while skipping its subfolders content
1 parent f258f39 commit dfd3def

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

_config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ code_dir: downloads/code
3131
i18n_dir: :lang
3232
skip_render:
3333
- '模板/**' # 👈 加上文件夹名,**代表忽略里面所有文件
34+
- "charts/*/**" # 👈 跳过 charts 子文件夹里的所有内容,但不跳过 index.md
3435
- "candlestick-analyzer/**"
3536
- "Prompts/**"
3637
# 其他单独的文件名如果也在模板文件夹里,就都不用写了,上面一行全包了

source/charts/index.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
title: 图表库
33
date: 2025-12-28
4+
layout: page
45
---
56

67
## 我的图表

0 commit comments

Comments
 (0)