abiosoft / abiosoft/caddy-git

Templates missing before git clone

オープン
#80 コメント 1 件 リアクション 0 件 担当者 0 名 GitHub で見る
主要言語
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 はまだ評価されていません。

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。