de-duplicate error page
1 file changed, 6 insertions(+), 0 deletions(-)
changed files
M templates/page.go → templates/page.go
@@ -11,6 +11,11 @@ c "alin.ovh/gomponents/components" . "alin.ovh/gomponents/html" ) +type Error struct { + Code int + Message string +} + type PageData struct { Meta config.Meta DisplayName string@@ -32,6 +37,7 @@ Branches any Log bool Servername string Gomod bool + Error *Error } func RenderHead(data PageData) []g.Node {