【发布时间】:2018-04-30 18:29:05
【问题描述】:
这似乎是一个非常基本的问题,但我找不到答案:-S
我这样排除:
exclude:
- "*.json"
- "Gemfile*"
- "*.txt"
- vendor
- README.md
- somefile.html
非常简单。要创建我运行的生产版本:$ JEKYLL_ENV=production bundle exec jekyll build
当我运行生产环境时,如何仅排除 somefile.html 文件?
【问题讨论】:
-
someone.html 是什么或您如何使用它?
-
在这种情况下,它是一个静态文件,当它是开发但不是生产时,我需要在 _site 中。