Preserve gallery order at Jekyll date precision
This commit is contained in:
@@ -42,7 +42,7 @@ for position, (job, index) in enumerate(ordered):
|
||||
title = f"photo-{job}-{index:02}"
|
||||
if (job, index) == first_for_job[job]:
|
||||
title = f"photo-{job}"
|
||||
date = start - timedelta(microseconds=position)
|
||||
date = start - timedelta(seconds=position)
|
||||
lines = ["---", "layout: post", f'title: "{title}"',
|
||||
f'date: "{date.isoformat()}"', "categories: art"]
|
||||
if (job, index) in anchors:
|
||||
|
||||
Reference in New Issue
Block a user