Thanks to visit codestin.com
Credit goes to github.com

Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@

## 2.0.0 (2018-07-01)

Breaking changes, please check [Update from 1.x to 2.x](https://tianqi.name/jekyll-TeXt-theme/docs/en/update-from-1-to-2) for details
Breaking changes, please check [Update from 1.x to 2.x](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/update-from-1-to-2) for details

### Enhancements

Expand Down
30 changes: 15 additions & 15 deletions README-zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,32 +57,32 @@ TeXt 使用 [Tomorrow](https://github.com/chriskempson/tomorrow-theme) 作为它

### 开始

- [快速开始](https://tianqi.name/jekyll-TeXt-theme/docs/zh/quick-start)
- [从 1.x 升级到 2.x](https://tianqi.name/jekyll-TeXt-theme/docs/zh/update-from-1-to-2)
- [快速开始](https://kitian616.github.io/jekyll-TeXt-theme/docs/zh/quick-start)
- [从 1.x 升级到 2.x](https://kitian616.github.io/jekyll-TeXt-theme/docs/zh/update-from-1-to-2)

### 定制

- [配置](https://tianqi.name/jekyll-TeXt-theme/docs/zh/configuration)
- [导航栏](https://tianqi.name/jekyll-TeXt-theme/docs/zh/navigation)
- [布局](https://tianqi.name/jekyll-TeXt-theme/docs/zh/layouts)
- [Logo 和 Favicon](https://tianqi.name/jekyll-TeXt-theme/docs/zh/logo-and-favicon)
- [作者](https://tianqi.name/jekyll-TeXt-theme/docs/zh/authors)
- [国际化](https://tianqi.name/jekyll-TeXt-theme/docs/zh/i18n)
- [配置](https://kitian616.github.io/jekyll-TeXt-theme/docs/zh/configuration)
- [导航栏](https://kitian616.github.io/jekyll-TeXt-theme/docs/zh/navigation)
- [布局](https://kitian616.github.io/jekyll-TeXt-theme/docs/zh/layouts)
- [Logo 和 Favicon](https://kitian616.github.io/jekyll-TeXt-theme/docs/zh/logo-and-favicon)
- [作者](https://kitian616.github.io/jekyll-TeXt-theme/docs/zh/authors)
- [国际化](https://kitian616.github.io/jekyll-TeXt-theme/docs/zh/i18n)

### 内容

- [撰写博客](https://tianqi.name/jekyll-TeXt-theme/docs/zh/writing-posts)
- [附加样式](https://tianqi.name/jekyll-TeXt-theme/docs/zh/additional-styles)
- [扩展](https://tianqi.name/jekyll-TeXt-theme/docs/zh/extensions)
- [Markdown 增强](https://tianqi.name/jekyll-TeXt-theme/docs/zh/markdown-enhancements)
- [撰写博客](https://kitian616.github.io/jekyll-TeXt-theme/docs/zh/writing-posts)
- [附加样式](https://kitian616.github.io/jekyll-TeXt-theme/docs/zh/additional-styles)
- [扩展](https://kitian616.github.io/jekyll-TeXt-theme/docs/zh/extensions)
- [Markdown 增强](https://kitian616.github.io/jekyll-TeXt-theme/docs/zh/markdown-enhancements)

## 示例

| Name | Description |
| --- | --- |
| [Home](https://tianqi.name/jekyll-TeXt-theme/test/) | 列表页 |
| [Archive](https://tianqi.name/jekyll-TeXt-theme/archive.html) | 归档页 |
| [Layout Examples](https://tianqi.name/jekyll-TeXt-theme/samples.html) | 各种布局示例 |
| [Home](https://kitian616.github.io/jekyll-TeXt-theme/test/) | 列表页 |
| [Archive](https://kitian616.github.io/jekyll-TeXt-theme/archive.html) | 归档页 |
| [Layout Examples](https://kitian616.github.io/jekyll-TeXt-theme/samples.html) | 各种布局示例 |

## 支持我

Expand Down
30 changes: 15 additions & 15 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -57,32 +57,32 @@ TeXt use [Tomorrow](https://github.com/chriskempson/tomorrow-theme) as the highl

### Start

- [Quick Start](https://tianqi.name/jekyll-TeXt-theme/docs/en/quick-start)
- [Update from 1.x to 2.x](https://tianqi.name/jekyll-TeXt-theme/docs/en/update-from-1-to-2)
- [Quick Start](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/quick-start)
- [Update from 1.x to 2.x](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/update-from-1-to-2)

### Customization

- [Configuration](https://tianqi.name/jekyll-TeXt-theme/docs/en/configuration)
- [Navigation](https://tianqi.name/jekyll-TeXt-theme/docs/en/navigation)
- [Layouts](https://tianqi.name/jekyll-TeXt-theme/docs/en/layouts)
- [Logo and Favicon](https://tianqi.name/jekyll-TeXt-theme/docs/en/logo-and-favicon)
- [Authors](https://tianqi.name/jekyll-TeXt-theme/docs/en/authors)
- [Internationalization](https://tianqi.name/jekyll-TeXt-theme/docs/en/i18n)
- [Configuration](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/configuration)
- [Navigation](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/navigation)
- [Layouts](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/layouts)
- [Logo and Favicon](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/logo-and-favicon)
- [Authors](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/authors)
- [Internationalization](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/i18n)

### Content

- [Writing Posts](https://tianqi.name/jekyll-TeXt-theme/docs/en/writing-posts)
- [Additional styles](https://tianqi.name/jekyll-TeXt-theme/docs/en/additional-styles)
- [Extensions](https://tianqi.name/jekyll-TeXt-theme/docs/en/extensions)
- [Markdown Enhancements](https://tianqi.name/jekyll-TeXt-theme/docs/en/markdown-enhancements)
- [Writing Posts](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/writing-posts)
- [Additional styles](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/additional-styles)
- [Extensions](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/extensions)
- [Markdown Enhancements](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/markdown-enhancements)

## Demo Pages

| Name | Description |
| --- | --- |
| [Home](https://tianqi.name/jekyll-TeXt-theme/test/) | Home page |
| [Archive](https://tianqi.name/jekyll-TeXt-theme/archive.html) | Archive page |
| [Layout Examples](https://tianqi.name/jekyll-TeXt-theme/samples.html) | Examples for different layouts |
| [Home](https://kitian616.github.io/jekyll-TeXt-theme/test/) | Home page |
| [Archive](https://kitian616.github.io/jekyll-TeXt-theme/archive.html) | Archive page |
| [Layout Examples](https://kitian616.github.io/jekyll-TeXt-theme/samples.html) | Examples for different layouts |

## License

Expand Down
22 changes: 22 additions & 0 deletions _data/locale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,26 @@ fr-FR:
<<: *FR
fr-LU:
<<: *FR
## => Turkish
########################
tr: &TR
SUBSCRIBE : "Takip et"
READMORE : "Devamını Oku"
SEARCH : "İçerik Ara"
CANCEL : "İptal"
VIEWS : "gösterim"
LAST_UPDATED : "Son güncellenme"
PREVIOUS : "ÖNCEKİ"
NEXT : "SONRAKİ"
ARTICLE_DATE_FORMAT : "%d %b, %Y"
ARTICLE_LIST_DATE_FORMAT: "%d %b"
STATISTICS : "Toplam [POST_COUNT] adet gönderim ve [PAGE_COUNT] adet sayfa bulunuyor."
LICENSE_ANNOUNCE : "Bu içerik [LICENSE] ile lisanslanmıştır."
POST_ON_GITHUB : "Github üzerinde düzenle"
FOLLOW_ME : "Beni [NAME] üzerinden takip et."
FOLLOW_US : "Bizi [NAME] üzerinden takip edin."
EMAIL_ME : "Bana email ile ulaşın."
EMAIL_US : "Bize email ile ulaşın."
COPYRIGHT_DATES : "2021"

# @end locale config
2 changes: 2 additions & 0 deletions _data/navigation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ header:
fr-CH : *FR
fr-FR : *FR
fr-LU : *FR
tr : &TR Arşivdekiler
# @end locale config
url: /archive.html

Expand All @@ -46,5 +47,6 @@ header:
fr-CH : *FR
fr-FR : *FR
fr-LU : *FR
tr : &TR Hakkında
# @end locale config
url: /about.html
1 change: 1 addition & 0 deletions _layouts/archive.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
fr-CH : *FR
fr-FR : *FR
fr-LU : *FR
tr : &TR Arşivdekiler
# @end locale config
---

Expand Down
1 change: 1 addition & 0 deletions _layouts/home.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,7 @@
fr-CH : *FR
fr-FR : *FR
fr-LU : *FR
tr : &TR Ana Sayfa
# @end locale config
show_title: false
articles:
Expand Down
2 changes: 1 addition & 1 deletion _posts/2018-06-01-header-image.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,6 @@ article_header:
src: /screenshot.jpg
---

A Post with Header Image, See [Page layout](https://tianqi.name/jekyll-TeXt-theme/samples.html#page-layout) for more examples.
A Post with Header Image, See [Page layout](https://kitian616.github.io/jekyll-TeXt-theme/samples.html#page-layout) for more examples.

<!--more-->
2 changes: 1 addition & 1 deletion _posts/2018-07-01-welcome.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ tags: TeXt

If you see this page, that means you have setup your site. enjoy! :ghost: :ghost: :ghost:

You may want to [config the site](https://tianqi.name/jekyll-TeXt-theme/docs/en/configuration) or [writing a post](https://tianqi.name/jekyll-TeXt-theme/docs/en/writing-posts) next. Please feel free to [create an issue](https://github.com/kitian616/jekyll-TeXt-theme/issues) or [send me email](mailto:[email protected]) if you have any questions.
You may want to [config the site](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/configuration) or [writing a post](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/writing-posts) next. Please feel free to [create an issue](https://github.com/kitian616/jekyll-TeXt-theme/issues) or [send me email](mailto:[email protected]) if you have any questions.

<!--more-->

Expand Down
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
##############################
text_skin: default # "default" (default), "dark", "forest", "ocean", "chocolate", "orange"
highlight_theme: default # "default" (default), "tomorrow", "tomorrow-night", "tomorrow-night-eighties", "tomorrow-night-blue", "tomorrow-night-bright"
url : https://tianqi.name
url : https://kitian616.github.io
baseurl : /jekyll-TeXt-theme
title : TeXt Theme
description: >
Expand Down
2 changes: 1 addition & 1 deletion docs/_data/authors.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
Tian Qi:
name: Tian Qi # your Name
url: https://tianqi.name
url: https://kitian616.github.io
avatar: https://wx3.sinaimg.cn/large/73bd9e13ly1fjkqy66hl8j208c08c0td.jpg # your photo
bio: The Creator of TeXt.
email: [email protected]
Expand Down
23 changes: 23 additions & 0 deletions docs/_data/locale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -144,4 +144,27 @@ fr-FR:
<<: *FR
fr-LU:
<<: *FR

## => Turkish
########################
tr: &TR
SUBSCRIBE : "Takip et"
READMORE : "Devamını Oku"
SEARCH : "İçerik Ara"
CANCEL : "İptal"
VIEWS : "gösterim"
LAST_UPDATED : "Son güncellenme"
PREVIOUS : "ÖNCEKİ"
NEXT : "SONRAKİ"
ARTICLE_DATE_FORMAT : "%d %b, %Y"
ARTICLE_LIST_DATE_FORMAT: "%d %b"
STATISTICS : "Toplam [POST_COUNT] adet gönderim ve [PAGE_COUNT] adet sayfa bulunuyor."
LICENSE_ANNOUNCE : "Bu içerik [LICENSE] ile lisanslanmıştır."
POST_ON_GITHUB : "Github üzerinde düzenle"
FOLLOW_ME : "Beni [NAME] üzerinden takip et."
FOLLOW_US : "Bizi [NAME] üzerinden takip edin."
EMAIL_ME : "Bana email ile ulaşın."
EMAIL_US : "Bize email ile ulaşın."
COPYRIGHT_DATES : "2021"

# @end locale config
14 changes: 7 additions & 7 deletions docs/_docs/en/2.1-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ highlight_theme: default # "default" (default), "tomorrow", "tomorrow-night", "t

### URL

The base hostname and protocol for your site. if you are hosting the site on Github Pages this will be set as the GitHub Pages domain (cname or user domain)[^gitHub_metadata]. For example, https://kitian616.github.io or https://tianqi.name if there is cname file.
The base hostname and protocol for your site. if you are hosting the site on Github Pages this will be set as the GitHub Pages domain (cname or user domain)[^gitHub_metadata]. For example, https://kitian616.github.io or https://kitian616.github.io if there is cname file.

Jekyll 3.3 overrides this value with url: http://localhost:4000 when running `jekyll serve` in a development environment[^jekyll_site_variables]. You can specifying Jekyll environment[^jekyll_specifying_environment] to production environment by `JEKYLL_ENV=production` to avoid this behavior.
{:.warning}
Expand Down Expand Up @@ -89,7 +89,7 @@ description: > # this means to ignore newlines until "nav_lists:"

### Language

The language of your site, you can override it with different ones on specific posts, pages by YAML Front Matter[^font_matter], learn more at [Internationalization](https://tianqi.name/jekyll-TeXt-theme/docs/en/i18n).
The language of your site, you can override it with different ones on specific posts, pages by YAML Front Matter[^font_matter], learn more at [Internationalization](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/i18n).

```yaml
lang: en
Expand Down Expand Up @@ -167,7 +167,7 @@ excerpt_separator: <!--more-->
excerpt_type: text # text (default), html
```

This setting has been **MOVED** to the YAML Front Matter of Articles and home layout **Since Version 2.2.0**, You can find more information [HERE](https://tianqi.name/jekyll-TeXt-theme/docs/en/layouts#articles-layout).
This setting has been **MOVED** to the YAML Front Matter of Articles and home layout **Since Version 2.2.0**, You can find more information [HERE](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/layouts#articles-layout).
{:.error}

### License
Expand Down Expand Up @@ -264,7 +264,7 @@ comments:
id: "your-addthis-pubid"
```

You NEED set `sharing` variable as `true` in the page’s YAML Front Matter to enable sharing on this page, you can find more information [HERE](https://tianqi.name/jekyll-TeXt-theme/docs/en/layouts#article-layout).
You NEED set `sharing` variable as `true` in the page’s YAML Front Matter to enable sharing on this page, you can find more information [HERE](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/layouts#article-layout).
{:.warning}

## Comments
Expand Down Expand Up @@ -316,7 +316,7 @@ comments:
app_key : "your-leanCloud-app-key"
```

For all the above comments systems, you NEED set `key` variable in the page’s YAML Front Matter to enable comments on this page, you can find more information [HERE](https://tianqi.name/jekyll-TeXt-theme/docs/en/layouts#page-layout).
For all the above comments systems, you NEED set `key` variable in the page’s YAML Front Matter to enable comments on this page, you can find more information [HERE](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/layouts#page-layout).
{:.warning}

## Pageview
Expand All @@ -330,7 +330,7 @@ For all the above comments systems, you NEED set `key` variable in the page’s

This use [LeanCloud](https://leancloud.cn/) as back-end service. You need create an application on the dashboard, and config the app’s id, key and class name.

The detail guide of LeanCloud will find in [Chinese document](https://tianqi.name/jekyll-TeXt-theme/docs/zh/configuration#leancloud) since LeanCloud haven't provide an English-language edition.
The detail guide of LeanCloud will find in [Chinese document](https://kitian616.github.io/jekyll-TeXt-theme/docs/zh/configuration#leancloud) since LeanCloud haven't provide an English-language edition.
{:.info}

```yaml
Expand All @@ -342,7 +342,7 @@ pageview:
app_class : "your-leanCloud-app-class"
```

For all the above pageview statistics, you **NEED** set `key` variable in the page’s YAML Front Matter to enable statistics on this page, you can find more information [HERE](https://tianqi.name/jekyll-TeXt-theme/docs/en/layouts#page-layout).
For all the above pageview statistics, you **NEED** set `key` variable in the page’s YAML Front Matter to enable statistics on this page, you can find more information [HERE](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/layouts#page-layout).
{:.warning}

## Analytics
Expand Down
4 changes: 2 additions & 2 deletions docs/_docs/en/2.3-layouts.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ Base on Base Layout.
| **type** | webpage (default), article | type of the page, used by [schema.org](https://schema.org/) markup. | |
| **key** | `!!str` | Unique key for the post, required by Comments and Pageview. begin with a letter (`[A-Za-z]`) and may be followed by any number of letters, digits (`[0-9]`), hyphens (`-`), underscores (`_`), colons (`:`), and periods (`.`). | |
| **lang** | en (default), zh, zh-Hans, zh-Hant | Language of this page. | |
| **author** | `!!map` | Assign one of the authors in *authors.yml* to a post or page, see [Authors](https://tianqi.name/jekyll-TeXt-theme/docs/en/authors) for detail. | 2.2.0 |
| **author** | `!!map` | Assign one of the authors in *authors.yml* to a post or page, see [Authors](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/authors) for detail. | 2.2.0 |
| **show_title** | true (default), false | Set as `false` to hide title on this page. | |
| **show_edit_on_github** | true, false (default) | Set as `true` to show “Edit on Github” button. you need set `repository` and `repository_tree` in *_config.yml* first. | |
| **show_date** | true (default), false | Set as `false` to hide date on this page. | 2.2.0 |
Expand Down Expand Up @@ -128,7 +128,7 @@ Base on Page Layout, available since version **2.2.0**.
| Variable | Option Values | Description |
| --- | --- | --- |
| **data_source** | `!!str` | You can set it as a collections name, then the page will show the article list of this collections. You can refer to [Collections](https://jekyllrb.com/docs/collections/) to learn more about collections. |
| **type** | item, brief, grid | TeXt supports 3 article list type with various settings, yan can find examples [HERE](https://tianqi.name/jekyll-TeXt-theme/samples.html#articles-layout). |
| **type** | item, brief, grid | TeXt supports 3 article list type with various settings, yan can find examples [HERE](https://kitian616.github.io/jekyll-TeXt-theme/samples.html#articles-layout). |
| **size** | md, sm | Available when type is `grid`. |
| **article_type** | BlogPosting | Available when type is `normal`. |
| **show_cover** | true (default), false | Available when type is `normal`. Before set it to `true`, you need first set each article a cover image, refer to the `cover` variable in [Page Layout](#page-layout). |
Expand Down
2 changes: 1 addition & 1 deletion docs/_docs/en/2.5-authors.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ Todo so, you need create *_data/authors.yml* and add authors using the following
```yml
Tian Qi:
name : Tian Qi
url : https://tianqi.name
url : https://kitian616.github.io
avatar : https://wx3.sinaimg.cn/large/73bd9e13ly1fjkqy66hl8j208c08c0td.jpg
bio : Author of TeXt.
email : [email protected]
Expand Down
3 changes: 2 additions & 1 deletion docs/_docs/en/2.7-i18n.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ The translation keys and multi-language names mentioned above support the follow
| **Traditional Chinese** | zh-Hant, zh-TW, zh-HK |
| **Korean** | ko, ko-KR |
| **French** | fr, fr-BE, fr-CA, fr-CH, fr-FR, fr-LU |
| **Turkish** | tr |

<!-- @end locale config -->
You can see examples for different languages [HERE](https://tianqi.name/jekyll-TeXt-theme/samples.html#languages).
You can see examples for different languages [HERE](https://kitian616.github.io/jekyll-TeXt-theme/samples.html#languages).
2 changes: 1 addition & 1 deletion docs/_docs/en/3.1-writing-posts.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,4 +31,4 @@ To improve the user experience for both reading and writing posts, TeXt made som

Between these triple-dashed lines you can set variables. you can consider it as page configuration, these would overrides the global configuration in *_config.yml*.

Beside Jekyll’s predefined variables, TeXt define some new variables for each layouts, see [Layouts](https://tianqi.name/jekyll-TeXt-theme/docs/en/layouts) for details.
Beside Jekyll’s predefined variables, TeXt define some new variables for each layouts, see [Layouts](https://kitian616.github.io/jekyll-TeXt-theme/docs/en/layouts) for details.
6 changes: 3 additions & 3 deletions docs/_docs/en/3.2-markdown-enhancements.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ You need set the variable true in the *_config.yml* or in the YAML Front Matter

| Enhancemen Name | Description |
| --------------- | ----------- |
| **Mathjax** | Make it easy to add mathematics in articles, using MathML, LaTeX and ASCIIMathML markup | [EXAMPLES](https://tianqi.name/jekyll-TeXt-theme/post/2017/07/07/mathjax.html) |
| **Mermaid** | Bring diagrams and flowcharts in articles | [EXAMPLES](https://tianqi.name/jekyll-TeXt-theme/post/2017/06/06/mermaid.html) |
| **Chart** | Bring charts in articles | [EXAMPLES](https://tianqi.name/jekyll-TeXt-theme/post/2017/05/05/chart.html) |
| **Mathjax** | Make it easy to add mathematics in articles, using MathML, LaTeX and ASCIIMathML markup | [EXAMPLES](https://kitian616.github.io/jekyll-TeXt-theme/post/2017/07/07/mathjax.html) |
| **Mermaid** | Bring diagrams and flowcharts in articles | [EXAMPLES](https://kitian616.github.io/jekyll-TeXt-theme/post/2017/06/06/mermaid.html) |
| **Chart** | Bring charts in articles | [EXAMPLES](https://kitian616.github.io/jekyll-TeXt-theme/post/2017/05/05/chart.html) |

## Mathjax

Expand Down
Loading