Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dillonzq/LoveIt.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDillon <dillonzq@outlook.com>2022-07-03 18:31:02 +0300
committerDillon <dillonzq@outlook.com>2022-07-03 18:31:02 +0300
commit8d9f60e737a5a4a4a3c2036cbfc6c84f750a4afc (patch)
treeea263e89d5b0629bb3b5feb4920d65eb5dbdacc0
parent132544f00defd7ce0506a1464ffc6f2f3ae265e9 (diff)
chore: update configuration docs
-rw-r--r--exampleSite/config.toml4
-rw-r--r--exampleSite/content/posts/theme-documentation-basics/index.en.md19
-rw-r--r--exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md17
-rw-r--r--theme.toml2
4 files changed, 40 insertions, 2 deletions
diff --git a/exampleSite/config.toml b/exampleSite/config.toml
index 4c470d26..504cb9e9 100644
--- a/exampleSite/config.toml
+++ b/exampleSite/config.toml
@@ -44,6 +44,10 @@ enableGitInfo = true
# 是否使用 emoji 代码
enableEmoji = true
+# ignore some build errors
+# 忽略一些构建错误
+ignoreErrors = ["error-remote-getjson", "error-missing-instagram-accesstoken"]
+
# Author config
# 作者配置
[author]
diff --git a/exampleSite/content/posts/theme-documentation-basics/index.en.md b/exampleSite/content/posts/theme-documentation-basics/index.en.md
index 78de5d06..ade696dd 100644
--- a/exampleSite/content/posts/theme-documentation-basics/index.en.md
+++ b/exampleSite/content/posts/theme-documentation-basics/index.en.md
@@ -212,6 +212,25 @@ title = "My New Hugo Site"
languageCode = "en"
# language name ["English", "简体中文", "Français", "Polski", ...]
languageName = "English"
+# whether to include Chinese/Japanese/Korean
+hasCJKLanguage = false
+
+# default amount of posts in each pages
+paginate = 12
+# google analytics code [UA-XXXXXXXX-X]
+googleAnalytics = ""
+# copyright description used only for seo schema
+copyright = ""
+
+# whether to use robots.txt
+enableRobotsTXT = true
+# whether to use git commit log
+enableGitInfo = true
+# whether to use emoji code
+enableEmoji = true
+
+# ignore some build errors
+ignoreErrors = ["error-remote-getjson", "error-missing-instagram-accesstoken"]
# Author config
[author]
diff --git a/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md b/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md
index c0f4d93a..e5222cf2 100644
--- a/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md
+++ b/exampleSite/content/posts/theme-documentation-basics/index.zh-cn.md
@@ -217,6 +217,23 @@ languageName = "简体中文"
# 是否包括中日韩文字
hasCJKLanguage = true
+# 默认每页列表显示的文章数目
+paginate = 12
+# 谷歌分析代号 [UA-XXXXXXXX-X]
+googleAnalytics = ""
+# 版权描述,仅仅用于 SEO
+copyright = ""
+
+# 是否使用 robots.txt
+enableRobotsTXT = true
+# 是否使用 git 信息
+enableGitInfo = true
+# 是否使用 emoji 代码
+enableEmoji = true
+
+# 忽略一些构建错误
+ignoreErrors = ["error-remote-getjson", "error-missing-instagram-accesstoken"]
+
# 作者配置
[author]
name = "xxxx"
diff --git a/theme.toml b/theme.toml
index d58e5a45..504ab7a8 100644
--- a/theme.toml
+++ b/theme.toml
@@ -1,5 +1,3 @@
-# theme.toml template for a Hugo theme
-
name = "LoveIt"
license = "MIT"
licenselink = "https://github.com/dillonzq/LoveIt/blob/master/LICENSE"