From deef0daf064b03fc3d2e712b4002254bc05fe50b Mon Sep 17 00:00:00 2001 From: SilentDepth Date: Fri, 14 Apr 2023 22:46:51 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20new=20window=20to=20open=20RSS?= =?UTF-8?q?=20to=20avoid=20CSR=20issue?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- components/Header.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/components/Header.js b/components/Header.js index aa5ba82f4..0899ccdd2 100644 --- a/components/Header.js +++ b/components/Header.js @@ -11,7 +11,7 @@ const NavBar = () => { const links = [ { id: 0, name: locale.NAV.INDEX, to: BLOG.path || '/', show: true }, { id: 1, name: locale.NAV.ABOUT, to: '/about', show: BLOG.showAbout }, - { id: 2, name: locale.NAV.RSS, to: '/feed', show: true }, + { id: 2, name: locale.NAV.RSS, to: '/feed', show: true, external: true }, { id: 3, name: locale.NAV.SEARCH, to: '/search', show: true } ] return ( @@ -24,7 +24,7 @@ const NavBar = () => { key={link.id} className="block ml-4 text-black dark:text-gray-50 nav" > - {link.name} + {link.name} ) )}