From 33a356a91495592ef5e43d43e1128e65c2219cb2 Mon Sep 17 00:00:00 2001 From: hollis Date: Wed, 10 Apr 2024 09:25:22 +0930 Subject: [PATCH] tiny little code change --- .eleventy.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.eleventy.js b/.eleventy.js index a55cdf9..23b616c 100644 --- a/.eleventy.js +++ b/.eleventy.js @@ -191,8 +191,7 @@ module.exports = function (eleventyConfig) { for (iframe of doc.getElementsByTagName("iframe")) { var newAnchor = doc.createElement("a"); newAnchor.setAttribute("src", - iframe.getAttribute("rss-link") ? - iframe.getAttribute("rss-link"): + iframe.getAttribute("rss-link") ?? iframe.getAttribute("src")); newAnchor.appendChild( doc.createTextNode(