diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md
index 809bb97e..111a813a 100644
--- a/.github/ISSUE_TEMPLATE/bug_report.md
+++ b/.github/ISSUE_TEMPLATE/bug_report.md
@@ -1,33 +1,33 @@
---
name: Bug report (Bug反馈)
-about: Create a report to help Nobelium get better.
+about: 报告一个软件的BUG来让NotionNext变得更好
title: ''
labels: bug
assignees: tangly1024
---
-**Describe the bug**
-A clear and concise description of what the bug is.
+**描述bug**
+简单说明bug的现象、相关的错误提示、日志等
-**To Reproduce**
-Steps to reproduce the behavior:
+**复现步骤**
+出现这个bug的操作步骤
-**Expected behavior**
-A clear and concise description of what you expected to happen.
+**期望的正常结果**
+希望按这个步骤,正常操作结果是什么
-**Screenshots**
-If applicable, add screenshots to help explain your problem.
+**截图**
+相关的页面,应该用结果
-**Platform:**
+**环境**
-- OS: [e.g. iOS, Android, macOS]
-- Browser [e.g. chrome, safari, firefox]
-- Version [e.g. 22]
+- 操作系统: [例如. iOS, Android, macOS, windows]
+- 浏览器 [例如. chrome, safari, firefox]
+- 版本 [e.g. 22]
-**Additional context**
-Add any other context about the problem here.
+**补充说明**
+与问题相关的其它说明
\ No newline at end of file
diff --git a/.github/ISSUE_TEMPLATE/deployment-error.md b/.github/ISSUE_TEMPLATE/deployment-error.md
index 12e47613..14c6bc8a 100644
--- a/.github/ISSUE_TEMPLATE/deployment-error.md
+++ b/.github/ISSUE_TEMPLATE/deployment-error.md
@@ -1,7 +1,28 @@
---
name: Deployment error (部署错误)
-about: Do you need help to install NotionNext?
+about: 在安装部署NotionNext时需要什么帮助吗
title: ''
labels: deployment
assignees: tangly1024
---
+
+
+
+
+**描述遇到的问题**
+简单说明你遇到的问题,相关的日志、错误信息
+
+**相应配置**
+相关的配置,例如notion_page_id;你的网站地址
+
+**截图**
+相关的页面,应该用结果
+
+**环境**
+
+- 操作系统: [例如. iOS, Android, macOS, windows]
+- 浏览器 [例如. chrome, safari, firefox]
+- 版本 [e.g. 22]
diff --git a/.github/ISSUE_TEMPLATE/feature_request.md b/.github/ISSUE_TEMPLATE/feature_request.md
index e454490b..8a50c9d3 100644
--- a/.github/ISSUE_TEMPLATE/feature_request.md
+++ b/.github/ISSUE_TEMPLATE/feature_request.md
@@ -7,18 +7,18 @@ assignees: tangly1024
---
-**Is your feature request related to a problem? Please describe.**
-A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]
+**为什么提出这个新的特性改动**
+简要说明此特性解决的问题,例如,『博客站点的读者互动性不够强,和读者无法建立紧密的联系...』
-**Describe the solution you'd like**
-A clear and concise description of what you want to happen.
+**描述一下你推荐的解决方案**
+简要说明你的解决方案建议,例如,『Giscus评论插件功能更加强大,用户只需留言既可在你的邮箱收到通知。。。』
-**Describe alternatives you've considered**
-A clear and concise description of any alternative solutions or features you've considered.
+**描述一下你考虑过的其它替代解决方案**
+简要说明你所有想过的有可能解决此问题的方案。
-**Additional context**
-Add any other context or screenshots about the feature request here.
+**补充说明**
+补充与此特性相关的内容
diff --git a/pages/archive/index.js b/pages/archive/index.js
index 5241697d..e66b2abd 100644
--- a/pages/archive/index.js
+++ b/pages/archive/index.js
@@ -8,8 +8,8 @@ const ArchiveIndex = props => {
const ThemeComponents = ThemeMap[theme]
const { siteInfo } = props
const meta = {
- title: `${locale.NAV.ARCHIVE} | ${siteInfo.title}`,
- description: siteInfo.description,
+ title: `${locale.NAV.ARCHIVE} | ${siteInfo?.title}`,
+ description: siteInfo?.description,
slug: 'archive',
type: 'website'
}
diff --git a/pages/category/index.js b/pages/category/index.js
index 1545408b..f099d29f 100644
--- a/pages/category/index.js
+++ b/pages/category/index.js
@@ -9,8 +9,8 @@ export default function Category(props) {
const { locale } = useGlobal()
const { siteInfo } = props
const meta = {
- title: `${locale.COMMON.CATEGORY} | ${siteInfo.title}`,
- description: siteInfo.description,
+ title: `${locale.COMMON.CATEGORY} | ${siteInfo?.title}`,
+ description: siteInfo?.description,
slug: 'category',
type: 'website'
}
diff --git a/pages/index.js b/pages/index.js
index 9b8c8511..ec18b11c 100644
--- a/pages/index.js
+++ b/pages/index.js
@@ -14,8 +14,8 @@ export async function getStaticProps() {
const props = await getGlobalNotionData({ from, pageType: ['Post'] })
const { allPosts, siteInfo } = props
const meta = {
- title: `${siteInfo.title} | ${siteInfo.description}`,
- description: siteInfo.description,
+ title: `${siteInfo?.title} | ${siteInfo?.description}`,
+ description: siteInfo?.description,
image: siteInfo.pageCover,
slug: '',
type: 'website'
diff --git a/pages/page/[page].js b/pages/page/[page].js
index 1de94693..b6787758 100644
--- a/pages/page/[page].js
+++ b/pages/page/[page].js
@@ -12,8 +12,8 @@ const Page = props => {
return <>>
}
const meta = {
- title: `${props.page} | Page | ${siteInfo.title}`,
- description: siteInfo.description,
+ title: `${props.page} | Page | ${siteInfo?.title}`,
+ description: siteInfo?.description,
slug: 'page/' + props.page,
type: 'website'
}
diff --git a/pages/search/index.js b/pages/search/index.js
index 222d03d0..80cfe52c 100644
--- a/pages/search/index.js
+++ b/pages/search/index.js
@@ -23,9 +23,9 @@ const Search = props => {
const { locale } = useGlobal()
const meta = {
title: `${searchKey || ''}${searchKey ? ' | ' : ''}${locale.NAV.SEARCH} | ${
- siteInfo.title
+ siteInfo?.title
}`,
- description: siteInfo.description,
+ description: siteInfo?.description,
slug: 'search',
type: 'website'
}
diff --git a/pages/tag/index.js b/pages/tag/index.js
index 50c9ff8c..a4c28dbf 100644
--- a/pages/tag/index.js
+++ b/pages/tag/index.js
@@ -9,8 +9,8 @@ const TagIndex = props => {
const { locale } = useGlobal()
const { siteInfo } = props
const meta = {
- title: `${locale.COMMON.TAGS} | ${siteInfo.title}`,
- description: siteInfo.description,
+ title: `${locale.COMMON.TAGS} | ${siteInfo?.title}`,
+ description: siteInfo?.description,
slug: 'tag',
type: 'website'
}
diff --git a/themes/example/components/Footer.js b/themes/example/components/Footer.js
index 86f0b9cb..d94e6648 100644
--- a/themes/example/components/Footer.js
+++ b/themes/example/components/Footer.js
@@ -19,7 +19,7 @@ export const Footer = (props) => {
// {' '}
//
//
- //