From 1df8896a2dd8cb0096d09e2b1a6d957476d43172 Mon Sep 17 00:00:00 2001 From: Yi Zeng Date: Sun, 24 Sep 2017 14:33:15 +1300 Subject: [PATCH 1/4] Update how footer theme info is displayed - Rename "copyright" i18n entry to "theme_info" - Enable example CC license for posts --- _config.yml | 6 +++--- _data/i18n.yml | 4 ++-- _includes/blog/footer.html | 2 +- starter-kit/_config.yml | 6 +++--- starter-kit/_data/i18n.yml | 4 ++-- 5 files changed, 11 insertions(+), 11 deletions(-) diff --git a/_config.yml b/_config.yml index be5094da7..47337deb1 100644 --- a/_config.yml +++ b/_config.yml @@ -51,9 +51,9 @@ home: section2:

A gem-based responsive simple texture styled Jekyll theme

section3: blog: - cc_license: # A link to CC License of your choice, e.g. http://creativecommons.org/licenses/by-sa/4.0/. - cc_license_image: # An image of your CC License, e.g. /assets/images/theme/cc-by-sa.png - footer_content: A gem-based responsive simple texture styled Jekyll theme. + cc_license: http://creativecommons.org/licenses/by-sa/4.0/ # A link to CC License of your choice. + cc_license_image: /assets/images/theme/cc-by-sa.png # An image of your CC License. + footer_content: A gem-based responsive simple texture styled Jekyll theme. disqus: shortname: diff --git a/_data/i18n.yml b/_data/i18n.yml index 7996211e7..f864ca920 100644 --- a/_data/i18n.yml +++ b/_data/i18n.yml @@ -4,7 +4,6 @@ en: &en back_to_top: 'Back to Top' categories: 'Categories' close: 'Close' - copyright: '

Theme Simple Texture developed by Yi Zeng, powered by Jekyll.

' enter_blog: 'Enter Blog' last_updated: 'Last updated' menu: 'Menu' @@ -26,6 +25,7 @@ en: &en show_comments: 'Show Comments' show_license: 'Show License' tags: 'Tags' + theme_info: '

Theme Simple Texture developed by Yi Zeng, powered by Jekyll.

' view: 'View' en-us: <<: *en @@ -43,7 +43,6 @@ zh: &zh back_to_top: '返回顶部' categories: '文章分类' close: '关闭' - copyright: '

本博客主题 Simple TextureYi Zeng 基于 Jekyll 开发.

' enter_blog: '进入博客' last_updated: '最后更新于' menu: '菜单' @@ -66,6 +65,7 @@ zh: &zh show_comments: '显示评论' show_license: '显示许可证' tags: '文章标签' + theme_info: '

本博客主题 Simple TextureYi Zeng 基于 Jekyll 开发.

' view: '查阅' zh-cn: <<: *zh diff --git a/_includes/blog/footer.html b/_includes/blog/footer.html index 8159e5254..df59cb399 100644 --- a/_includes/blog/footer.html +++ b/_includes/blog/footer.html @@ -7,7 +7,7 @@

{{ site.data.i18n[site.lang]. {% if site.blog.footer_content %}

{{ site.blog.footer_content }}

{% endif %} - {{ site.data.i18n[site.lang].copyright }} + {{ site.data.i18n[site.lang].theme_info }}