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.
This commit is contained in:
Bin Wang
2024-04-06 06:30:36 +00:00
committed by GitHub
parent 615a2a9c3b
commit 54cc62baa4
+3
View File
@@ -14,6 +14,9 @@ const RSS: FC<{ data: Data }> = ({ data }) => (
<author>
<name>{data.author || 'RSSHub'}</name>
</author>
{data.icon && <icon>{data.icon}</icon>}
{data.logo && <logo>{data.logo}</logo>}
{data.item?.map((item) => (
<entry>
<title>{item.title}</title>