Lets go back

This commit is contained in:
2024-12-13 23:11:30 +01:00
parent eadd90322e
commit 3416dea62e
4 changed files with 14 additions and 6 deletions

View File

@@ -67,7 +67,8 @@ class MetadataProcessor:
self.data["favorites"].append({
"name": metadata.get("name", "Unknown"),
"image": metadata.get("image", "images/default.jpg"),
"description": metadata.get("summary", "No description provided")
"description": metadata.get("summary", "No description provided"),
"path": os.path.relpath(root, self.input_dir).replace(os.sep, "/"),
})
def generate_json(self):