Documentation

This commit is contained in:
squidfunk
2023-07-24 12:51:28 +01:00
parent ab178b2bc2
commit 44674f0fdb

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