Strip trailing newlines from yaml-formatted title
continuous-integration/drone/push Build is passing Details

This commit is contained in:
Luca 2023-03-30 01:20:03 +02:00
parent 15545098b2
commit 61f679eb2d
1 changed files with 1 additions and 1 deletions

View File

@ -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}
--- ---