Strip trailing newlines from yaml-formatted title
continuous-integration/drone/push Build is passing
Details
continuous-integration/drone/push Build is passing
Details
This commit is contained in:
parent
15545098b2
commit
61f679eb2d
|
@ -58,7 +58,7 @@ def download_gallery(path):
|
||||||
index = target / 'index.md'
|
index = target / 'index.md'
|
||||||
index.write_text(f'''---
|
index.write_text(f'''---
|
||||||
slug: "{slug}"
|
slug: "{slug}"
|
||||||
title: {dump(title, Dumper=CDumper)}
|
title: {dump(title, Dumper=CDumper).rstrip()}
|
||||||
date: {date}
|
date: {date}
|
||||||
---
|
---
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue