Merge photo highlights by name and capture year
This commit is contained in:
@@ -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>', ""])
|
||||
|
||||
Reference in New Issue
Block a user