From 3478afa14ef825099ca1a1ef43cfd4ebd442fa25 Mon Sep 17 00:00:00 2001 From: Michael Scherer Date: Mon, 23 Mar 2020 22:42:11 +0100 Subject: [PATCH] Handle case of a feed not having a title since entry.title is Nil, there is no parameterize method --- source/index.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/index.html.haml b/source/index.html.haml index f28c023..ad752e7 100644 --- a/source/index.html.haml +++ b/source/index.html.haml @@ -37,7 +37,7 @@ page_classes: planet %header.post-header - %h2.post-title.entry-title{ id: entry.title.parameterize } + %h2.post-title.entry-title{ id: (entry.title || '').parameterize } = link_to entry.title, entry.url, {rel: 'nofollow'} %header.post-meta