abiosoft / abiosoft/caddy-git

Templates missing before git clone

Đang mở
#80 1 bình luận 0 reaction 0 người được giao Xem trên GitHub
Ngôn ngữ chính
Go
Star
206
Fork
42
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

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?

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.