diff --git a/README.md b/README.md index 72c0fe3..d48026a 100644 --- a/README.md +++ b/README.md @@ -33,6 +33,8 @@ defaultContentLanguage = "zh-CN" title = "olOwOlo" enableRobotsTXT = true enableEmoji = true +# 自动检测是否包含 中文\韩文\日文 +hasCJKLanguage = true theme = "even" @@ -182,7 +184,6 @@ copyright = " 移植主题时参考了不少... +> 移植主题时参考了不少(字母顺序排列)... -1. 一个好看的国语主题: [hugo-nuo](https://github.com/laozhu/hugo-nuo) -2. 一个好看的出现在 Quick Start 里的主题: [ananke](https://github.com/budparr/gohugo-theme-ananke) -3. 一个好看的源主题: [hexo-theme-even](https://github.com/ahonn/hexo-theme-even) +- 一个好看的出现在 Quick Start 里的主题: [ananke](https://github.com/budparr/gohugo-theme-ananke) +- 一个好看的源主题: [hexo-theme-even](https://github.com/ahonn/hexo-theme-even) +- 一个好看的国语主题: [hugo-nuo](https://github.com/laozhu/hugo-nuo) diff --git a/archetypes/default.md b/archetypes/default.md index 1ef60b4..7464e07 100644 --- a/archetypes/default.md +++ b/archetypes/default.md @@ -3,7 +3,6 @@ title: "{{ replace .TranslationBaseName "-" " " | title }}" date: {{ .Date }} lastmod: {{ .Date }} draft: true -isCJKLanguage: true keywords: [] description: "" tags: [] @@ -13,7 +12,8 @@ author: "" # you can close something for this content if you open it in config.toml. comment: false toc: false -copyright: false # you can define another copyright. e.g. copyright: "This is an another copyright." +# you can define another copyright. e.g. copyright: "This is an another copyright." +copyright: false reward: false mathjax: false --- diff --git a/layouts/_default/terms.html b/layouts/_default/terms.html index b43eb76..e48d39b 100644 --- a/layouts/_default/terms.html +++ b/layouts/_default/terms.html @@ -1,4 +1,4 @@ -{{ define "title" }}{{ index .Site.Data.even.default .Data.Plural }} - {{ .Site.Title }}{{ end }} +{{ define "title" }}{{ index .Site.Data.even.default .Data.Plural }} - {{ .Site.Title }}{{ end }} {{ define "content" }} {{ $lang := .Site.Data.even.default -}} diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html index 246f26a..6c98f51 100644 --- a/layouts/partials/footer.html +++ b/layouts/partials/footer.html @@ -19,7 +19,7 @@ | {{ .Site.Data.even.default.footer.theme }} - - Even + Even