chore: adjust something about translate langs, etc
This commit is contained in:
parent
40b20a9a18
commit
9241888333
7 changed files with 39 additions and 4 deletions
31
_config.yml
31
_config.yml
|
@ -24,6 +24,36 @@ yat:
|
|||
# If you want more debug log, you can set true
|
||||
# debug: true
|
||||
|
||||
# Translate languges
|
||||
# langs refer to https://cloud.google.com/translate/docs/languages
|
||||
# translate_langs:
|
||||
# - lang: en
|
||||
# text: English
|
||||
#
|
||||
# - lang: fr
|
||||
# img: https://www.countryflags.io/fr/flat/64.png
|
||||
# text: Franch
|
||||
#
|
||||
# - lang: zh-CN
|
||||
# img: https://www.countryflags.io/cn/flat/64.png
|
||||
# text: Chinese(Simple)
|
||||
#
|
||||
# - lang: zh-TW
|
||||
# img: https://www.countryflags.io/tw/flat/64.png
|
||||
# text: Chinese(Traditional)
|
||||
#
|
||||
# - lang: ja
|
||||
# img: https://www.countryflags.io/jp/flat/64.png
|
||||
# text: Japan
|
||||
#
|
||||
# - lang: ko
|
||||
# img: https://www.countryflags.io/kr/flat/64.png
|
||||
# text: Korean
|
||||
#
|
||||
# - lang: ru
|
||||
# img: https://www.countryflags.io/ru/flat/64.png
|
||||
# text: Russia
|
||||
|
||||
# You can choose a theme color
|
||||
# Default theme colors as below:
|
||||
# spacegrey: #222222
|
||||
|
@ -71,7 +101,6 @@ yat:
|
|||
|
||||
# Build settings
|
||||
markdown: kramdown
|
||||
theme: jekyll-theme-yat
|
||||
|
||||
plugins:
|
||||
- jekyll-feed
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
# Translate languges
|
||||
# langs refer to https://cloud.google.com/translate/docs/languages
|
||||
|
||||
- lang: en
|
||||
img: https://www.countryflags.io/us/flat/64.png
|
||||
text: English
|
||||
|
|
|
@ -6,6 +6,8 @@
|
|||
|
||||
{%- if page[name] -%}
|
||||
{%- assign return = page[name] -%}
|
||||
{%- elsif site[name] -%}
|
||||
{%- assign return = site[name] -%}
|
||||
{%- elsif site.data[name] -%}
|
||||
{%- assign return = site.data[name] -%}
|
||||
{%- elsif site.defaults[page.layout][name] -%}
|
||||
|
|
|
@ -135,6 +135,7 @@ body {
|
|||
|
||||
a {
|
||||
display: block;
|
||||
color: invert($theme-color);
|
||||
|
||||
img {
|
||||
width: 24px;
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
---
|
||||
layout: archives
|
||||
title: ARCHIVES
|
||||
title: archives
|
||||
---
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
---
|
||||
layout: categories
|
||||
title: CATEGORIES
|
||||
title: categories
|
||||
---
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
---
|
||||
layout: tags
|
||||
title: TAGS
|
||||
title: tags
|
||||
---
|
||||
|
|
Loading…
Reference in a new issue