diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index 943cf303..4ea399c0 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -12,23 +12,23 @@ assignees: tangly1024 --> **描述bug** -简单说明bug的现象、相关的错误提示、日志等 +【此项必填】简单说明bug的现象、相关的错误提示、日志等 **复现步骤** -出现这个bug的操作步骤 +【此项必填】出现这个bug的操作步骤 **期望的正常结果** -希望按这个步骤,正常操作结果是什么 +【此项必填】希望按这个步骤,正常操作结果是什么 **截图** -相关的页面,应该的结果 +【可选】相关的页面,应该的结果 **环境** -- 操作系统: [例如. iOS, Android, macOS, windows] -- 浏览器 [例如. chrome, safari, firefox] -- NotionNext版本 [e.g. 3.13.6] -- 主题 [例如. hexo] +- 【必填】NotionNext版本 [例如. 4.0.18] +- 【必填】主题 [例如. hexo] +- 【可选】操作系统: [例如. iOS, Android, macOS, windows] +- 【可选】浏览器 [例如. chrome, safari, firefox] **补充说明** -与问题相关的其它说明 \ No newline at end of file +【可选】与问题相关的其它说明 \ No newline at end of file diff --git a/pages/archive/index.js b/pages/archive/index.js index 662cb7b6..a0a57f28 100644 --- a/pages/archive/index.js +++ b/pages/archive/index.js @@ -31,7 +31,7 @@ const ArchiveIndex = props => { const meta = { title: `${locale.NAV.ARCHIVE} | ${siteConfig('TITLE')}`, - description: siteConfig('HOME_BANNER_IMAGE'), + description: siteConfig('DESCRIPTION'), image: siteInfo?.pageCover, slug: 'archive', type: 'website' diff --git a/pages/category/[category]/index.js b/pages/category/[category]/index.js index 9c90f22d..a623cc6b 100644 --- a/pages/category/[category]/index.js +++ b/pages/category/[category]/index.js @@ -22,7 +22,7 @@ export default function Category(props) { title: `${props.category} | ${locale.COMMON.CATEGORY} | ${ siteConfig('TITLE') || '' }`, - description: siteConfig('HOME_BANNER_IMAGE'), + description: siteConfig('DESCRIPTION'), slug: 'category/' + props.category, image: siteInfo?.pageCover, type: 'website' diff --git a/pages/category/[category]/page/[page].js b/pages/category/[category]/page/[page].js index dee16235..ae5124b1 100644 --- a/pages/category/[category]/page/[page].js +++ b/pages/category/[category]/page/[page].js @@ -22,7 +22,7 @@ export default function Category(props) { title: `${props.category} | ${locale.COMMON.CATEGORY} | ${ siteConfig('TITLE') || '' }`, - description: siteConfig('HOME_BANNER_IMAGE'), + description: siteConfig('DESCRIPTION'), slug: 'category/' + props.category, image: siteInfo?.pageCover, type: 'website' diff --git a/pages/category/index.js b/pages/category/index.js index 78e7676e..85121910 100644 --- a/pages/category/index.js +++ b/pages/category/index.js @@ -20,7 +20,7 @@ export default function Category(props) { const meta = { title: `${locale.COMMON.CATEGORY} | ${siteConfig('TITLE')}`, - description: siteConfig('HOME_BANNER_IMAGE'), + description: siteConfig('DESCRIPTION'), image: siteInfo?.pageCover, slug: 'category', type: 'website' diff --git a/pages/page/[page].js b/pages/page/[page].js index 6e83c5a6..c34aef1d 100644 --- a/pages/page/[page].js +++ b/pages/page/[page].js @@ -18,7 +18,7 @@ const Page = props => { const meta = { title: `${props?.page} | Page | ${siteConfig('TITLE')}`, - description: siteConfig('HOME_BANNER_IMAGE'), + description: siteConfig('DESCRIPTION'), image: siteInfo?.pageCover, slug: 'page/' + props.page, type: 'website' diff --git a/pages/search/index.js b/pages/search/index.js index 1504fe86..fa45d2d5 100644 --- a/pages/search/index.js +++ b/pages/search/index.js @@ -36,7 +36,7 @@ const Search = props => { const meta = { title: `${keyword || ''}${keyword ? ' | ' : ''}${locale.NAV.SEARCH} | ${siteConfig('TITLE')}`, - description: siteConfig('HOME_BANNER_IMAGE'), + description: siteConfig('DESCRIPTION'), image: siteInfo?.pageCover, slug: 'search', type: 'website' diff --git a/pages/tag/[tag]/index.js b/pages/tag/[tag]/index.js index 8805c686..1d6c94d2 100644 --- a/pages/tag/[tag]/index.js +++ b/pages/tag/[tag]/index.js @@ -19,7 +19,7 @@ const Tag = props => { const meta = { title: `${tag} | ${locale.COMMON.TAGS} | ${siteConfig('TITLE')}`, - description: siteConfig('HOME_BANNER_IMAGE'), + description: siteConfig('DESCRIPTION'), image: siteInfo?.pageCover, slug: 'tag/' + tag, type: 'website' diff --git a/pages/tag/[tag]/page/[page].js b/pages/tag/[tag]/page/[page].js index 7cbb2e6a..ab28fdbc 100644 --- a/pages/tag/[tag]/page/[page].js +++ b/pages/tag/[tag]/page/[page].js @@ -14,7 +14,7 @@ const Tag = props => { const meta = { title: `${tag} | ${locale.COMMON.TAGS} | ${siteConfig('TITLE')}`, - description: siteConfig('HOME_BANNER_IMAGE'), + description: siteConfig('DESCRIPTION'), image: siteInfo?.pageCover, slug: 'tag/' + tag, type: 'website' diff --git a/pages/tag/index.js b/pages/tag/index.js index f82613eb..bb618414 100644 --- a/pages/tag/index.js +++ b/pages/tag/index.js @@ -19,7 +19,7 @@ const TagIndex = props => { const meta = { title: `${locale.COMMON.TAGS} | ${siteConfig('TITLE')}`, - description: siteConfig('HOME_BANNER_IMAGE'), + description: siteConfig('DESCRIPTION'), image: siteInfo?.pageCover, slug: 'tag', type: 'website' diff --git a/themes/matery/components/SideBar.js b/themes/matery/components/SideBar.js index 818c96b1..06437d13 100644 --- a/themes/matery/components/SideBar.js +++ b/themes/matery/components/SideBar.js @@ -18,7 +18,7 @@ const SideBar = (props) => {
{siteConfig('TITLE')} - {/* ,{' '}{siteConfig('HOME_BANNER_IMAGE')} */} + {/* ,{' '}{siteConfig('DESCRIPTION')} */}
)} diff --git a/themes/nobelium/components/Title.js b/themes/nobelium/components/Title.js index a1512af2..151d736e 100644 --- a/themes/nobelium/components/Title.js +++ b/themes/nobelium/components/Title.js @@ -7,7 +7,7 @@ import { siteConfig } from '@/lib/config' */ export const Title = (props) => { const { post } = props - const title = post?.title || siteConfig('HOME_BANNER_IMAGE') + const title = post?.title || siteConfig('DESCRIPTION') const description = post?.description || siteConfig('AUTHOR') return- {siteConfig('TITLE')} - {' '}{siteConfig('HOME_BANNER_IMAGE')} + {siteConfig('TITLE')} + {' '}{siteConfig('DESCRIPTION')}
)}