Templates missing before git clone
未关闭
- 主要语言
- Go
- 星标
- 206
- 派生
- 42
- PR 合并指标
- 30 天内没有已合并 PR
描述
I've noticed the following error starting caddy (v0.10.10):
```
Error during parsing: default template parse error: open site/templates/template.html: no such file or directory
```
with the following `Caddyfile`:
```
localhost:8080 {
git github.com/user/site {
hook /push key
}
root site
markdown / {
ext .md
template templates/template.html
}
}
```
Caddy throws the error and exits before the git plugin clones the repo. Would it be possible for the git plugin to defer template loading until the repo is cloned successfully?
贡献指南
这个仓库没有索引到贡献指南
评估
这个 Issue 还没有评估数据。