diff options
-rw-r--r-- | README.md | 15 | ||||
-rw-r--r-- | archetypes/default.md | 4 | ||||
-rw-r--r-- | layouts/_default/terms.html | 2 | ||||
-rw-r--r-- | layouts/partials/footer.html | 2 |
4 files changed, 13 insertions, 10 deletions
@@ -33,6 +33,8 @@ defaultContentLanguage = "zh-CN" title = "olOwOlo" enableRobotsTXT = true enableEmoji = true +# 自动检测是否包含 中文\韩文\日文 +hasCJKLanguage = true theme = "even" @@ -182,7 +184,6 @@ copyright = "<a rel=\"license\" href=\"http://creativecommons.org/licenses/by-nc date: {{ .Date }} lastmod: {{ .Date }} draft: true - isCJKLanguage: true keywords: [] description: "" tags: [] @@ -221,6 +222,8 @@ defaultContentLanguage = "zh-CN" title = "olOwOlo" enableRobotsTXT = true enableEmoji = true +# 自动检测是否包含 中文\韩文\日文 +hasCJKLanguage = true theme = "even" @@ -325,12 +328,12 @@ copyright = "<a rel=\"license\" href=\"http://creativecommons.org/licenses/by-nc ``` ## License -Released under the MIT License. +Released under the [MIT](./LICENSE.md) License. ## 表示感谢 -> 移植主题时参考了不少... +> 移植主题时参考了不少(字母顺序排列)... -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 @@ <span class="division">|</span> <span class="theme-info"> {{ .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 class="copyright-year"> |