diff --git a/rIndex.go b/rIndex.go index 745671b..65f205f 100644 --- a/rIndex.go +++ b/rIndex.go @@ -14,6 +14,9 @@ func (this *WikiServer) routeIndex(w http.ResponseWriter, r *http.Request) { return } + showDeleted := (r.FormValue("deleted") == "1") + anyDeleted := false + totalRevs, err := this.db.TotalRevisions() if err != nil { this.serveInternalError(w, r, err) @@ -22,10 +25,27 @@ func (this *WikiServer) routeIndex(w http.ResponseWriter, r *http.Request) { content := fmt.Sprintf(`