diff --git a/server/handlers.go b/server/handlers.go index 504937c..e10fe18 100755 --- a/server/handlers.go +++ b/server/handlers.go @@ -730,6 +730,7 @@ func (s *Site) handlePublish(c *gin.Context) { if !p.IsPublished { message = "Unpublished" } + s.sitemapUpToDate = false c.JSON(http.StatusOK, gin.H{"success": true, "message": message}) }