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

github.com/xianmin/hugo-theme-jane.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'config.toml')
-rw-r--r--config.toml14
1 files changed, 7 insertions, 7 deletions
diff --git a/config.toml b/config.toml
index cf6290e..158dca5 100644
--- a/config.toml
+++ b/config.toml
@@ -1,13 +1,15 @@
baseURL = "http://localhost:1313/"
-languageCode = "en"
-defaultContentLanguage = "en"
+defaultContentLanguage = "zh-CN"
title = "Jane - A simple theme for Hugo"
enableRobotsTXT = true
enableEmoji = true
# theme = "jane"
+[Languages.en]
+ languageCode = "en" # language to use # 使用中文改成 zh.CN
+
hasCJKLanguage = true # has chinese/japanese/korean ? # 自动检测是否包含 中文\日文\韩文
-paginate = 3 # 首页每页显示的文章数
+paginate = 5 # 首页每页显示的文章数
disqusShortname = "xianmin" # disqus_shortname
googleAnalytics = "" # UA-XXXXXXXX-X
copyright = "" # default: author.name ↓ # 默认为下面配置的author.name ↓
@@ -52,22 +54,20 @@ copyright = "" # default: author.name ↓ # 默认为下面配
description = "Hugo theme jane example site."
# paginate of archives, tags and categories # 归档、标签、分类每页显示的文章数目,建议修改为一个较大的值
- archive-paginate = 3
+ archive-paginate = 10
# The date format to use; for a list of valid formats, see https://gohugo.io/functions/format/
dateFormatToUse = "2006-01-02"
# show word count and read time ? # 是否显示字数统计与阅读时间
- moreMeta = false
+ moreMeta = true
# 一些全局开关,你也可以在每一篇内容的 front matter 中针对单篇内容关闭或开启某些功能,在 archetypes/default.md 查看更多信息。
# Some global options, you can also close or open something in front matter for a single post, see more information from `archetypes/default.md`.
toc = true # 是否开启目录
- autoCollapseToc = false # Auto expand and collapse toc # 目录自动展开/折叠
fancybox = true # see https://github.com/fancyapps/fancybox # 是否启用fancybox(图片可点击)
bootcdn = false # In china. @Deprecated: use [params.publicCDN] # 是否使用bootcdn(@Deprecated: 请使用[params.publicCDN])
mathjax = false # see https://www.mathjax.org/ # 是否使用mathjax(数学公式)
- linkToMarkDown = false # if you config contentCopyright and hugo output .md files. # 是否在链接到markdown原始文件(如果你配置了下面的许可协议并允许hugo生成markdown文件)
contentCopyright = '<a rel="license noopener" href="https://creativecommons.org/licenses/by-nc-nd/4.0/" target="_blank">CC BY-NC-ND 4.0</a>'