[fix] [minor] clear page route cache always
This commit is contained in:
parent
7c9853823f
commit
7d01ea9c86
1 changed files with 2 additions and 0 deletions
|
|
@ -76,6 +76,8 @@ class WebsiteGenerator(Document):
|
|||
route.page_title = self.get_page_title()
|
||||
self.update_permissions(route)
|
||||
route.save(ignore_permissions=True)
|
||||
else:
|
||||
route.clear_cache()
|
||||
|
||||
def is_changed(self, route):
|
||||
if route.idx != self.idx or route.page_title != self.get_page_title():
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue