Documentation

This commit is contained in:
squidfunk 2023-07-24 12:51:28 +01:00
parent ab178b2bc2
commit 44674f0fdb
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF

View File

@ -61,7 +61,7 @@ class BlogPlugin(BasePlugin[BlogConfig]):
self.is_dirtyreload = False
self.is_dirty = False
# Determine whether we're running under dirty reload
# Determine whether we're serving
def on_startup(self, *, command, dirty):
self.is_serve = (command == "serve")
self.is_dirty = dirty