abiosoft / abiosoft/caddy-git

Templates missing before git clone

Abierto
#80 1 comentario 0 reacciones 0 asignados Ver en GitHub
Lenguaje dominante
Go
Estrellas
206
Forks
42
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

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?

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Evaluación

Este issue todavía no se ha evaluado.

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.