Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
kitian616 committed Feb 2, 2020
1 parent 79b42a6 commit 310a279
Show file tree
Hide file tree
Showing 8 changed files with 32 additions and 29 deletions.
12 changes: 6 additions & 6 deletions _data/locale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ en: &EN
FOLLOW_US : "Follow us on [NAME]."
EMAIL_ME : "Send me an Email."
EMAIL_US : "Send us an Email."
COPYRIGHT_DATES : "2019"
COPYRIGHT_DATES : "2020"

en-GB:
<<: *EN
Expand Down Expand Up @@ -50,7 +50,7 @@ zh-Hans: &ZH_HANS
FOLLOW_US : "在 [NAME] 上关注我们。"
EMAIL_ME : "给我发邮件。"
EMAIL_US : "给我们发邮件。"
COPYRIGHT_DATES : "2019"
COPYRIGHT_DATES : "2020"

zh:
<<: *ZH_HANS
Expand Down Expand Up @@ -79,7 +79,7 @@ zh-Hant: &ZH_HANT
FOLLOW_US : "在 [NAME] 上關注我們。"
EMAIL_ME : "給我發郵件。"
EMAIL_US : "給我們發郵件。"
COPYRIGHT_DATES : "2019"
COPYRIGHT_DATES : "2020"

zh-TW:
<<: *ZH_HANT
Expand All @@ -106,7 +106,7 @@ ko: &KO
FOLLOW_US : "[NAME]에서 팔로우하기"
EMAIL_ME : "이메일 보내기"
EMAIL_US : "이메일 보내기"
COPYRIGHT_DATES : "2019"
COPYRIGHT_DATES : "2020"

ko-KR:
<<: *KO
Expand All @@ -131,7 +131,7 @@ fr: &FR
FOLLOW_US : "Suivez-nous sur [NAME]."
EMAIL_ME : "Envoyez-moi un courriel."
EMAIL_US : "Envoyez-nous un courriel"
COPYRIGHT_DATES : "2019"
COPYRIGHT_DATES : "2020"
DONATE : "Faites un don de [NAME]."

fr-BE:
Expand All @@ -144,4 +144,4 @@ fr-FR:
<<: *FR
fr-LU:
<<: *FR
# @end locale config
# @end locale config
2 changes: 1 addition & 1 deletion _includes/article-list.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<div class="article-list items">
{%- elsif include.type == 'grid' -%}
{%- if include.size == 'sm' -%}
<div class="article-list grid gird--sm grid--p-3">
<div class="article-list grid grid--sm grid--p-3">
{%- else -%}
<div class="article-list grid grid--p-3">
{%- endif -%}
Expand Down
2 changes: 1 addition & 1 deletion _sass/components/_article-list.scss
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
font-size: map-get($base, font-size-sm);
white-space: nowrap;
}
&.gird--sm {
&.grid--sm {
.card__header {
overflow: hidden;
text-overflow: ellipsis;
Expand Down
14 changes: 7 additions & 7 deletions docs/_docs/en/3.3-additional-styles.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Error Text.

### Border

<div class="gird-containre">
<div class="grid-containre">
<div class="grid grid--p-2">
<div class="cell cell--12 cell--md-4 " markdown="1">
![Image](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/docs/assets/images/image.jpg "Image_border"){:.border}
Expand All @@ -96,7 +96,7 @@ Error Text.

### Shadow

<div class="gird-containre">
<div class="grid-containre">
<div class="grid grid--p-2">
<div class="cell cell--12 cell--md-4 " markdown="1">
![Image](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/docs/assets/images/image.jpg "Image_shadow"){:.shadow}
Expand All @@ -109,7 +109,7 @@ Error Text.

### Rounded

<div class="gird-containre">
<div class="grid-containre">
<div class="grid grid--p-2">
<div class="cell cell--12 cell--md-4 " markdown="1">
![Image](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/docs/assets/images/image.jpg "Image_rounded"){:.rounded}
Expand All @@ -122,7 +122,7 @@ Error Text.

### Circle

<div class="gird-containre">
<div class="grid-containre">
<div class="grid grid--p-2">
<div class="cell cell--12 cell--md-4 " markdown="1">
![Image](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/docs/assets/images/image.jpg "Image_circle"){:.circle}
Expand All @@ -135,7 +135,7 @@ Error Text.

### Mixture

<div class="gird-containre">
<div class="grid-containre">
<div class="grid grid--p-2">
<div class="cell cell--12 cell--md-4 " markdown="1">
![Image](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/docs/assets/images/image.jpg "Image_border+rounded"){:.border.rounded}
Expand All @@ -146,7 +146,7 @@ Error Text.
</div>
</div>

<div class="gird-containre">
<div class="grid-containre">
<div class="grid grid--p-2">
<div class="cell cell--12 cell--md-4 " markdown="1">
![Image](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/docs/assets/images/image.jpg "Image_circle+shadow"){:.circle.shadow}
Expand All @@ -157,7 +157,7 @@ Error Text.
</div>
</div>

<div class="gird-containre">
<div class="grid-containre">
<div class="grid grid--p-2">
<div class="cell cell--12 cell--md-4 " markdown="1">
![Image](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/docs/assets/images/image.jpg "Image_circle+border+shadow"){:.circle.border.shadow}
Expand Down
2 changes: 1 addition & 1 deletion docs/_docs/en/4.2-grid.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
---
title: Gird
title: Grid
permalink: /docs/en/grid
key: docs-grid
---
Expand Down
14 changes: 7 additions & 7 deletions docs/_docs/zh/3.3-additional-styles.md
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ Error Text.

### Border

<div class="gird-containre">
<div class="grid-containre">
<div class="grid grid--p-2">
<div class="cell cell--12 cell--md-4 " markdown="1">
![Image](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/docs/assets/images/image.jpg "Image_border"){:.border}
Expand All @@ -96,7 +96,7 @@ Error Text.

### Shadow

<div class="gird-containre">
<div class="grid-containre">
<div class="grid grid--p-2">
<div class="cell cell--12 cell--md-4 " markdown="1">
![Image](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/docs/assets/images/image.jpg "Image_shadow"){:.shadow}
Expand All @@ -109,7 +109,7 @@ Error Text.

### Rounded

<div class="gird-containre">
<div class="grid-containre">
<div class="grid grid--p-2">
<div class="cell cell--12 cell--md-4 " markdown="1">
![Image](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/docs/assets/images/image.jpg "Image_rounded"){:.rounded}
Expand All @@ -122,7 +122,7 @@ Error Text.

### Circle

<div class="gird-containre">
<div class="grid-containre">
<div class="grid grid--p-2">
<div class="cell cell--12 cell--md-4 " markdown="1">
![Image](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/docs/assets/images/image.jpg "Image_circle"){:.circle}
Expand All @@ -135,7 +135,7 @@ Error Text.

### Mixture

<div class="gird-containre">
<div class="grid-containre">
<div class="grid grid--p-2">
<div class="cell cell--12 cell--md-4 " markdown="1">
![Image](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/docs/assets/images/image.jpg "Image_border+rounded"){:.border.rounded}
Expand All @@ -146,7 +146,7 @@ Error Text.
</div>
</div>

<div class="gird-containre">
<div class="grid-containre">
<div class="grid grid--p-2">
<div class="cell cell--12 cell--md-4 " markdown="1">
![Image](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/docs/assets/images/image.jpg "Image_circle+shadow"){:.circle.shadow}
Expand All @@ -157,7 +157,7 @@ Error Text.
</div>
</div>

<div class="gird-containre">
<div class="grid-containre">
<div class="grid grid--p-2">
<div class="cell cell--12 cell--md-4 " markdown="1">
![Image](https://raw.githubusercontent.com/kitian616/jekyll-TeXt-theme/master/docs/assets/images/image.jpg "Image_circle+border+shadow"){:.circle.border.shadow}
Expand Down
3 changes: 3 additions & 0 deletions docs/_posts/2019-10-09-what-next.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,9 @@ Dark Mode is cool, and TeXt is supporting it.

<!--more-->

Trying to use [PostCSS](https://github.com/postcss/postcss) for CSS Variable Polyfill and Auto Prefix.
{:.info}

It is developing on `dev` branch, you can run `git checkout dev` to switch to this branch.

For now, ONLY `default` skin supports Dark Mode.
12 changes: 6 additions & 6 deletions test/_data/locale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ en: &EN
FOLLOW_US : "Follow us on [NAME]."
EMAIL_ME : "Send me an Email."
EMAIL_US : "Send us an Email."
COPYRIGHT_DATES : "2019"
COPYRIGHT_DATES : "2020"

en-GB:
<<: *EN
Expand Down Expand Up @@ -50,7 +50,7 @@ zh-Hans: &ZH_HANS
FOLLOW_US : "在 [NAME] 上关注我们。"
EMAIL_ME : "给我发邮件。"
EMAIL_US : "给我们发邮件。"
COPYRIGHT_DATES : "2019"
COPYRIGHT_DATES : "2020"

zh:
<<: *ZH_HANS
Expand Down Expand Up @@ -79,7 +79,7 @@ zh-Hant: &ZH_HANT
FOLLOW_US : "在 [NAME] 上關注我們。"
EMAIL_ME : "給我發郵件。"
EMAIL_US : "給我們發郵件。"
COPYRIGHT_DATES : "2019"
COPYRIGHT_DATES : "2020"

zh-TW:
<<: *ZH_HANT
Expand All @@ -106,7 +106,7 @@ ko: &KO
FOLLOW_US : "[NAME]에서 팔로우하기"
EMAIL_ME : "이메일 보내기"
EMAIL_US : "이메일 보내기"
COPYRIGHT_DATES : "2019"
COPYRIGHT_DATES : "2020"

ko-KR:
<<: *KO
Expand All @@ -131,7 +131,7 @@ fr: &FR
FOLLOW_US : "Suivez-nous sur [NAME]."
EMAIL_ME : "Envoyez-moi un courriel."
EMAIL_US : "Envoyez-nous un courriel"
COPYRIGHT_DATES : "2019"
COPYRIGHT_DATES : "2020"
DONATE : "Faites un don de [NAME]."

fr-BE:
Expand All @@ -144,4 +144,4 @@ fr-FR:
<<: *FR
fr-LU:
<<: *FR
# @end locale config
# @end locale config

0 comments on commit 310a279

Please sign in to comment.