Documentation

This commit is contained in:
squidfunk 2023-08-22 15:41:30 +02:00
parent 6ee9df6e1a
commit 382101d8a3
No known key found for this signature in database
GPG Key ID: 5ED40BC4F9C436DF
2 changed files with 2 additions and 2 deletions

View File

@ -572,7 +572,7 @@ class BlogPlugin(BasePlugin[BlogConfig]):
file = self._path_to_file(path, config)
files.append(file)
# Create and yield archive view
# Create and yield category view
self._save_to_file(file.abs_src_path, f"# {name}")
yield Category(name, file, config)

View File

@ -572,7 +572,7 @@ class BlogPlugin(BasePlugin[BlogConfig]):
file = self._path_to_file(path, config)
files.append(file)
# Create and yield archive view
# Create and yield category view
self._save_to_file(file.abs_src_path, f"# {name}")
yield Category(name, file, config)