diff --git a/src/plugins/blog/plugin.py b/src/plugins/blog/plugin.py index dad7295b7..6ae2c2c84 100644 --- a/src/plugins/blog/plugin.py +++ b/src/plugins/blog/plugin.py @@ -620,7 +620,7 @@ class BlogPlugin(BasePlugin[BlogConfig]): # Create and yield view if not isinstance(file.page, View): - yield View(None, file, config) + yield view.__class__(None, file, config) # Assign pages and posts to view assert isinstance(file.page, View)