docs: config CJKLanguage, theme info

This commit is contained in:
olOwOlo 2017-08-28 17:03:07 +08:00
parent 3c6cb7f296
commit ffca038a12
4 changed files with 13 additions and 10 deletions

View file

@ -33,6 +33,8 @@ defaultContentLanguage = "zh-CN"
title = "olOwOlo" title = "olOwOlo"
enableRobotsTXT = true enableRobotsTXT = true
enableEmoji = true enableEmoji = true
# 自动检测是否包含 中文\韩文\日文
hasCJKLanguage = true
theme = "even" theme = "even"
@ -182,7 +184,6 @@ copyright = "<a rel=\"license\" href=\"http://creativecommons.org/licenses/by-nc
date: {{ .Date }} date: {{ .Date }}
lastmod: {{ .Date }} lastmod: {{ .Date }}
draft: true draft: true
isCJKLanguage: true
keywords: [] keywords: []
description: "" description: ""
tags: [] tags: []
@ -221,6 +222,8 @@ defaultContentLanguage = "zh-CN"
title = "olOwOlo" title = "olOwOlo"
enableRobotsTXT = true enableRobotsTXT = true
enableEmoji = true enableEmoji = true
# 自动检测是否包含 中文\韩文\日文
hasCJKLanguage = true
theme = "even" theme = "even"
@ -325,12 +328,12 @@ copyright = "<a rel=\"license\" href=\"http://creativecommons.org/licenses/by-nc
``` ```
## License ## License
Released under the MIT License. Released under the [MIT](./LICENSE.md) License.
## 表示感谢 ## 表示感谢
> 移植主题时参考了不少... > 移植主题时参考了不少(字母顺序排列)...
1. 一个好看的国语主题: [hugo-nuo](https://github.com/laozhu/hugo-nuo) - 一个好看的出现在 Quick Start 里的主题: [ananke](https://github.com/budparr/gohugo-theme-ananke)
2. 一个好看的出现在 Quick Start 里的主题: [ananke](https://github.com/budparr/gohugo-theme-ananke) - 一个好看的源主题: [hexo-theme-even](https://github.com/ahonn/hexo-theme-even)
3. 一个好看的源主题: [hexo-theme-even](https://github.com/ahonn/hexo-theme-even) - 一个好看的国语主题: [hugo-nuo](https://github.com/laozhu/hugo-nuo)

View file

@ -3,7 +3,6 @@ title: "{{ replace .TranslationBaseName "-" " " | title }}"
date: {{ .Date }} date: {{ .Date }}
lastmod: {{ .Date }} lastmod: {{ .Date }}
draft: true draft: true
isCJKLanguage: true
keywords: [] keywords: []
description: "" description: ""
tags: [] tags: []
@ -13,7 +12,8 @@ author: ""
# you can close something for this content if you open it in config.toml. # you can close something for this content if you open it in config.toml.
comment: false comment: false
toc: 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 reward: false
mathjax: false mathjax: false
--- ---

View file

@ -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" }} {{ define "content" }}
{{ $lang := .Site.Data.even.default -}} {{ $lang := .Site.Data.even.default -}}

View file

@ -19,7 +19,7 @@
<span class="division">|</span> <span class="division">|</span>
<span class="theme-info"> <span class="theme-info">
{{ .Site.Data.even.default.footer.theme }} - {{ .Site.Data.even.default.footer.theme }} -
<a class="theme-link" href="https://github.com/ahonn/hexo-theme-even">Even</a> <a class="theme-link" href="https://github.com/olOwOlo/hugo-theme-even">Even</a>
</span> </span>
<span class="copyright-year"> <span class="copyright-year">