diff --git a/blog.config.js b/blog.config.js index f9dc1b06..54ac8cd3 100644 --- a/blog.config.js +++ b/blog.config.js @@ -72,7 +72,8 @@ const BLOG = { ADSENSE_GOOGLE_ID: process.env.NEXT_PUBLIC_ADSENSE_GOOGLE_ID || '', // 谷歌广告ID e.g ca-pub-xxxxxxxxxxxxxxxx - isProd: process.env.VERCEL_ENV === 'production' // distinguish between development and production environment (ref: https://vercel.com/docs/environment-variables#system-environment-variables) isProd: process.env.VERCEL_ENV === 'production' // distinguish between development and production environment (ref: https://vercel.com/docs/environment-variables#system-environment-variables) + isProd: process.env.VERCEL_ENV === 'production', // distinguish between development and production environment (ref: https://vercel.com/docs/environment-variables#system-environment-variables) isProd: process.env.VERCEL_ENV === 'production' // distinguish between development and production environment (ref: https://vercel.com/docs/environment-variables#system-environment-variables) + VERSION: '2.7.1' // 版本号 } module.exports = BLOG diff --git a/package.json b/package.json index 9a7a661c..ed8a9d31 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "notion-next", - "version": "1.0.0", + "version": "2.7.1", "homepage": "https://github.com/tangly1024/NotionNext.git", "license": "MIT", "repository": { diff --git a/themes/fukasawa/components/SiteInfo.js b/themes/fukasawa/components/SiteInfo.js index 4fa0991f..dfb9a233 100644 --- a/themes/fukasawa/components/SiteInfo.js +++ b/themes/fukasawa/components/SiteInfo.js @@ -10,7 +10,7 @@ function SiteInfo ({ title }) { > © {`${startYear}${currentYear}`} {BLOG.AUTHOR}.
- Powered by NotionNext.
+ NotionNext {BLOG.VERSION}
{BLOG.BEI_AN && <> {BLOG.BEI_AN}
} diff --git a/themes/hexo/components/Footer.js b/themes/hexo/components/Footer.js index c8612410..2625e034 100644 --- a/themes/hexo/components/Footer.js +++ b/themes/hexo/components/Footer.js @@ -12,7 +12,7 @@ const Footer = ({ title }) => { {`${startYear}${currentYear}`} {BLOG.AUTHOR}.
- Powered by Notion & NotionNext.
+ Powered by Notion & NotionNext {BLOG.VERSION}. {BLOG.BEI_AN && <>
{BLOG.BEI_AN}
}
diff --git a/themes/medium/components/Footer.js b/themes/medium/components/Footer.js index 7531acca..89cf7f47 100644 --- a/themes/medium/components/Footer.js +++ b/themes/medium/components/Footer.js @@ -12,7 +12,7 @@ const Footer = ({ title }) => { {`${startYear}${currentYear}`} {BLOG.AUTHOR}.
- Powered by Notion & NotionNext.
+ Powered by Notion & NotionNext {BLOG.VERSION}. {BLOG.BEI_AN && <>
{BLOG.BEI_AN}
} diff --git a/themes/next/components/Footer.js b/themes/next/components/Footer.js index c0bd960c..74956e37 100644 --- a/themes/next/components/Footer.js +++ b/themes/next/components/Footer.js @@ -12,7 +12,7 @@ const Footer = ({ title }) => { {`${startYear}${currentYear}`} {BLOG.AUTHOR}.
- Powered by Notion & NotionNext.
+ Powered by Notion & NotionNext {BLOG.VERSION}.
{BLOG.BEI_AN && <>
{BLOG.BEI_AN}
}