From 6e64d6477295dcb41cf04fcd6675476353f3f160 Mon Sep 17 00:00:00 2001 From: rra Date: Tue, 24 May 2022 10:00:58 +0200 Subject: [PATCH] only return an author if there is one --- lumbunglib/templates/feed.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lumbunglib/templates/feed.md b/lumbunglib/templates/feed.md index f744bff..d9f3f9a 100644 --- a/lumbunglib/templates/feed.md +++ b/lumbunglib/templates/feed.md @@ -3,7 +3,7 @@ title: "{{ frontmatter.title }}" date: "{{ frontmatter.date }}" #2021-06-10T10:46:33+02:00 draft: false summary: "{{ frontmatter.summary }}" -authors: ["{{ frontmatter.author }}"] +authors: {% if frontmatter.author %} ["{{ frontmatter.author }}"] {% endif %} original_link: "{{ frontmatter.original_link }}" feed_name: "{{ frontmatter.feed_name}}" categories: ["{{ frontmatter.card_type }}", "{{ frontmatter.feed_name}}"]