···1515 w.Write([]byte(html))1616}17171818+// HxRefresh is a client-side full refresh of the page.1919+func (s *Pages) HxRefresh(w http.ResponseWriter) {2020+ w.Header().Set("HX-Refresh", "true")2121+ w.WriteHeader(http.StatusOK)2222+}2323+1824// HxRedirect is a full page reload with a new location.1925func (s *Pages) HxRedirect(w http.ResponseWriter, location string) {2026 w.Header().Set("HX-Redirect", location)