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"