Merge photo highlights by name and capture year

This commit is contained in:
2026-09-26 19:38:15 +01:00
parent 41c637eca9
commit d15ba78579
47 changed files with 221 additions and 9 deletions
+2
View File
@@ -177,6 +177,8 @@ def photo_entry(job, date, index, caption, highlight):
f'date: "{item_date.isoformat()}"', "categories: art"]
if index == 0 and highlight:
content.append(f"anchor: {json.dumps(highlight)}")
if highlight:
content.append(f"highlight_name: {json.dumps(highlight)}")
content.extend(["---", ""])
if index == 0 and not highlight:
content.extend([f'<div id="photo-{job}"></div>', ""])