From c7e5dafa3b692c9d2d958b46ede1783a597f616e Mon Sep 17 00:00:00 2001 From: Hongbo Wu Date: Thu, 11 May 2023 17:44:35 +0800 Subject: [PATCH] fix: use multiline string for title and author in default template --- src/settings/template.ts | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) diff --git a/src/settings/template.ts b/src/settings/template.ts index 6267258..eb9cfcf 100644 --- a/src/settings/template.ts +++ b/src/settings/template.ts @@ -10,19 +10,21 @@ import { } from "../util"; export const DEFAULT_TEMPLATE = `--- -id: "{{{id}}}" -title: "{{{title}}}" +id: {{{id}}} +title: > + {{{title}}} {{#author}} -author: "{{{author}}}" +author: > + {{{author}}} {{/author}} {{#labels.length}} tags: -{{#labels}} - "{{{name}}}" +{{#labels}} - {{{name}}} {{/labels}} {{/labels.length}} -date_saved: "{{{dateSaved}}}" +date_saved: {{{dateSaved}}} {{#datePublished}} -date_published: "{{{datePublished}}}" +date_published: {{{datePublished}}} {{/datePublished}} ---