From 2dffd38384a5e341d29b64a6afbd8541ce88d794 Mon Sep 17 00:00:00 2001 From: Anson Date: Tue, 5 Oct 2021 16:39:54 -0700 Subject: [PATCH] quick fix to support articles without images --- index.html | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/index.html b/index.html index 97c74bf..55bbfaf 100644 --- a/index.html +++ b/index.html @@ -191,7 +191,8 @@ let articles = ``; let detailedlist = `
`; items.forEach((el) => { - articles += ` + try { + articles += ` `; + } catch (err) { + console.log(err); + } detailedlist += `
${el.querySelector("title").innerHTML}