mirror of
https://github.com/d0zingcat/NotionNext.git
synced 2026-06-02 15:10:16 +00:00
@@ -4,14 +4,14 @@ import BLOG from '@/blog.config'
|
|||||||
export function generateRss (posts) {
|
export function generateRss (posts) {
|
||||||
const year = new Date().getFullYear()
|
const year = new Date().getFullYear()
|
||||||
const feed = new Feed({
|
const feed = new Feed({
|
||||||
TITLE: BLOG.TITLE,
|
title: BLOG.TITLE,
|
||||||
DESCRIPTION: BLOG.DESCRIPTION,
|
description: BLOG.DESCRIPTION,
|
||||||
id: `${BLOG.LINK}/${BLOG.PATH}`,
|
id: `${BLOG.LINK}/${BLOG.PATH}`,
|
||||||
LINK: `${BLOG.LINK}/${BLOG.PATH}`,
|
link: `${BLOG.LINK}/${BLOG.PATH}`,
|
||||||
language: BLOG.LANG,
|
language: BLOG.LANG,
|
||||||
favicon: `${BLOG.LINK}/favicon.png`,
|
favicon: `${BLOG.LINK}/favicon.png`,
|
||||||
copyright: `All rights reserved ${year}, ${BLOG.AUTHOR}`,
|
copyright: `All rights reserved ${year}, ${BLOG.AUTHOR}`,
|
||||||
AUTHOR: {
|
author: {
|
||||||
name: BLOG.AUTHOR,
|
name: BLOG.AUTHOR,
|
||||||
email: BLOG.CONTACT_EMAIL,
|
email: BLOG.CONTACT_EMAIL,
|
||||||
link: BLOG.LINK
|
link: BLOG.LINK
|
||||||
|
|||||||
Reference in New Issue
Block a user