rename countkey to title
1 file changed, 2 insertions(+), 2 deletions(-)
changed files
M domain/web/mux.go → domain/web/mux.go
@@ -48,7 +48,7 @@ } if file == nil { return ihttp.NotFound("File not found") } - analytics.WithCountKey(r, file.Title) + analytics.WithTitle(r, file.Title) w.Header().Add("ETag", file.Etag) w.Header().Add("Vary", "Accept-Encoding") if file.StyleHash != "" {@@ -74,7 +74,7 @@ return nil } func (website *Website) Calendar(w http.ResponseWriter, r *http.Request) ihttp.Error { - analytics.WithCountKey(r, "Calendar") + analytics.WithTitle(r, "Calendar") err := calendar.CalendarPage(*website.siteSettings, website.calendar).Render(w) if err != nil { return ihttp.InternalServerError("could not render calendar page", err)