abiosoft / abiosoft/caddy-git

Templates missing before git clone

Ouverte
#80 1 commentaire 0 réactions 0 personnes assignées Voir sur GitHub
Langage dominant
Go
Étoiles
206
Forks
42
Métriques de merge des PR
Aucune PR mergée en 30 j

Description

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?

Guide de contribution

Aucun guide de contribution indexé pour ce dépôt

Évaluation

Cette issue n'a pas encore été évaluée.

Recevez les nouvelles issues par e-mail

Un résumé court des issues GitHub adaptées aux débutants.