From 54cc62baa47f515aa2a82f32e138ea4611be90ed Mon Sep 17 00:00:00 2001 From: Bin Wang Date: Sat, 6 Apr 2024 02:30:36 -0400 Subject: [PATCH] fix(core): add icon and logo back to atom feed (#15132) icon and logo field are missing from atom feed after it's migrated to tsx template. This PR adds them back. --- lib/views/atom.tsx | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/views/atom.tsx b/lib/views/atom.tsx index 358fccf47..d9ebad6d3 100644 --- a/lib/views/atom.tsx +++ b/lib/views/atom.tsx @@ -14,6 +14,9 @@ const RSS: FC<{ data: Data }> = ({ data }) => ( {data.author || 'RSSHub'} + {data.icon && {data.icon}} + {data.logo && {data.logo}} + {data.item?.map((item) => ( {item.title}