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:
authorChen Xianmin <xianmin12@gmail.com>2018-03-06 14:27:07 +0300
committerChen Xianmin <xianmin12@gmail.com>2018-03-06 14:27:07 +0300
commit7c52431b21472297c73f3af3e6e8ae70df00502c (patch)
tree688c90f0fcf9d3cc8c97beedd48ccdbcf61297b7
parent41f99965de2ffca4a92d0b48394147469ba961db (diff)
update
-rw-r--r--config.toml6
-rw-r--r--package.json1
-rw-r--r--theme.toml12
3 files changed, 11 insertions, 8 deletions
diff --git a/config.toml b/config.toml
index 1ea67ae..158dca5 100644
--- a/config.toml
+++ b/config.toml
@@ -1,11 +1,13 @@
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 = 5 # 首页每页显示的文章数
disqusShortname = "xianmin" # disqus_shortname
diff --git a/package.json b/package.json
index 0773722..d14f95c 100644
--- a/package.json
+++ b/package.json
@@ -4,6 +4,7 @@
"description": "A simple theme for hugo",
"main": "",
"scripts": {
+ "build": "webpack",
"dev:assets": "webpack --watch --display='errors-only' ",
"dev:site": "hugo server --buildDrafts",
"dev": "concurrently 'npm run dev:assets' 'npm run dev:site' ",
diff --git a/theme.toml b/theme.toml
index a72c40f..a02faec 100644
--- a/theme.toml
+++ b/theme.toml
@@ -3,15 +3,15 @@
name = "Jane"
license = "MIT"
-licenselink = ""
-description = "A simple theme for Hugo"
-homepage = ""
-tags = ["responsive", "blog", "simple", "clean", "highlight.js", "syntax highlighting"]
-features = ["responsive", "blog", "simple", "clean", "highlight.js", "syntax highlighting"]
+licenselink = "https://github.com/xianmin/hugo-theme-jane/blob/master/LICENSE.md"
+description = "A readable theme for Hugo"
+homepage = "https://github.com/xianmin/hugo-theme-jane"
+tags = ["responsive", "blog", "simple", "clean", "readable", "highlight", "syntax highlighting"]
+features = ["responsive", "blog", "simple", "clean", "highlight", "syntax highlighting"]
min_version = "0.25"
[author]
- name = "贤民 (xianmin)"
+ name = "xianmin"
homepage = "http://xianmin.org"
# If porting an existing theme