all repos — homestead @ 08487ad57405c6e9e0673bdcf042a13c5639fdc2

Code for my website

move template files

Alan Pearce
commit

08487ad57405c6e9e0673bdcf042a13c5639fdc2

parent

82424b77fba708e4450c1a0cec5b0c7967b13d7b

1 file changed, 3 insertions(+), 2 deletions(-)

changed files
M domain/web/mux.godomain/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{},