Skip to content

Commit a73068e

Browse files
committed
fix: exclude template files
1 parent f9383bc commit a73068e

1 file changed

Lines changed: 3 additions & 5 deletions

File tree

_config.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,10 @@ archive_dir: archives
2929
category_dir: categories
3030
code_dir: downloads/code
3131
i18n_dir: :lang
32-
skip_render:
33-
- '博客模板.md' # Skip render for this file
32+
skip_render:
33+
- '模板/**' # 👈 加上文件夹名,**代表忽略里面所有文件
3434
- "charts/!(*.md)"
35-
- '嵌入网站.md' # Skip render for this file
36-
- '新建图表页面.md'
37-
- 'Blog_Post_Header.md'
35+
# 其他单独的文件名如果也在模板文件夹里,就都不用写了,上面一行全包了
3836
# Writing
3937
new_post_name: :title.md # File name of new posts
4038
default_layout: post

0 commit comments

Comments
 (0)