move template files
1 file changed, 3 insertions(+), 2 deletions(-)
changed files
M domain/web/mux.go → domain/web/mux.go
@@ -8,9 +8,10 @@ "regexp" "slices" "strings" + calendar "alin.ovh/homestead/domain/calendar/templates" ihttp "alin.ovh/homestead/domain/web/middleware" "alin.ovh/homestead/domain/web/server" - "alin.ovh/homestead/templates" + "alin.ovh/homestead/domain/web/templates" "github.com/kevinpollet/nego" )@@ -102,7 +103,7 @@ } func (website *Website) Calendar(w http.ResponseWriter, r *http.Request) *ihttp.Error { website.counter.Count(r, "Calendar") - err := templates.CalendarPage(*website.siteSettings, templates.PageSettings{ + err := calendar.CalendarPage(*website.siteSettings, templates.PageSettings{ Title: "Calendar", TitleAttrs: templates.Attrs{}, BodyAttrs: templates.Attrs{},