mirror of
https://github.com/Afilmory/afilmory
synced 2026-02-01 22:48:17 +00:00
feat: add RSS in social configuration (#82)
This commit is contained in:
@@ -84,6 +84,16 @@ export const MasonryHeaderMasonryItem = ({
|
||||
<i className="i-mingcute-twitter-fill text-sm" />
|
||||
</a>
|
||||
)}
|
||||
{siteConfig.social.rss && (
|
||||
<a
|
||||
href="/feed.xml"
|
||||
target="_blank"
|
||||
className="text-text-secondary flex items-center justify-center p-2 duration-200 hover:text-[#ec672c]"
|
||||
title="RSS"
|
||||
>
|
||||
<i className="i-mingcute-rss-2-fill text-sm" />
|
||||
</a>
|
||||
)}
|
||||
</div>
|
||||
)}
|
||||
|
||||
|
||||
@@ -38,6 +38,7 @@ interface Author {
|
||||
interface Social {
|
||||
twitter?: string
|
||||
github?: string
|
||||
rss?: boolean
|
||||
}
|
||||
|
||||
const defaultConfig: SiteConfig = {
|
||||
|
||||
Reference in New Issue
Block a user