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:
parent
615a2a9c3b
commit
54cc62baa4
|
|
@ -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>
|
||||
|
|
|
|||
Loading…
Reference in New Issue