Skip to content

Commit

Permalink
tiny little code change
Browse files Browse the repository at this point in the history
  • Loading branch information
uuupah committed Apr 9, 2024
1 parent 17b69cf commit 33a356a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions .eleventy.js
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 33a356a

Please sign in to comment.