schollz / cowyo

A feature-rich wiki webserver for minimalists :cow: :speech_balloon:
https://cowyo.com/
MIT License
924 stars 67 forks source link

Sitemap.xml not regenerated #139

Closed wlcx closed 6 years ago

wlcx commented 6 years ago

sitemap.xml is generated once at startup, and then not regenerated as changes are made. As far as I can tell this is because sitemapUpToDate is not set to false when pages are added or removed, so the thread_SiteMap goroutine generates it once and then does nothing!

schollz commented 6 years ago

This is fixed