From beb25c36c68678019295f108ec9e73f0d365030f Mon Sep 17 00:00:00 2001 From: Cory Dransfeldt Date: Fri, 5 May 2023 09:35:44 -0700 Subject: [PATCH] fix: make sure we get an author before rendering --- src/_includes/now.liquid | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/_includes/now.liquid b/src/_includes/now.liquid index 97376418..7c976fd1 100644 --- a/src/_includes/now.liquid +++ b/src/_includes/now.liquid @@ -124,7 +124,8 @@ layout: main {% for article in articles | reverse %}
  • - {{ article.content.title | escape }} by {{ article.content.author.name | escape }} + {{ article.content.title | escape }}{% if article.content.author.name %} + by {{ article.content.author.name | escape }}{% endif %}
  • {% endfor %}