Skip to content

Commit

Permalink
docs: update
Browse files Browse the repository at this point in the history
  • Loading branch information
kitian616 committed Nov 10, 2018
1 parent 8dd954b commit 93bf6d8
Show file tree
Hide file tree
Showing 8 changed files with 36 additions and 5 deletions.
2 changes: 1 addition & 1 deletion _config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ sharing:

## AddThis
addthis:
id: # addthis pubid, e.g. ra-5xxxxxxxxxxx
id: # AddThis pubid, e.g. ra-5xxxxxxxxxxx


## => Comments
Expand Down
12 changes: 12 additions & 0 deletions _posts/2018-06-01-header-image.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
---
title: Post with Header Image
tags: TeXt
article_header:
type: cover
image:
src: /screenshot.jpg
---

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

<!--more-->
1 change: 0 additions & 1 deletion _posts/2018-07-01-welcome.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
---
title: Welcome
key: 20180701
tags: TeXt
---

Expand Down
2 changes: 1 addition & 1 deletion docs/_config.dev.yml
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ sharing:

## AddThis
addthis:
id: # addthis pubid, e.g. ra-5xxxxxxxxxxx
id: # AddThis pubid, e.g. ra-5xxxxxxxxxxx


## => Comments
Expand Down
2 changes: 1 addition & 1 deletion docs/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ sharing:

## AddThis
addthis:
id: ra-5be59ee2486770cb # addthis pubid, e.g. ra-5xxxxxxxxxxx
id: ra-5be59ee2486770cb # AddThis pubid, e.g. ra-5xxxxxxxxxxx


## => Comments
Expand Down
10 changes: 10 additions & 0 deletions docs/_docs/en/2.1-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ sources: bootcdn # bootcdn (default), unpkg
| Name | Sharing Provider |
| --- | --- |
| **addtoany** | [AddToAny](https://www.addtoany.com/) |
| **addthis** | [AddThis](https://www.addthis.com/) |

### AddToAny

Expand All @@ -259,6 +260,15 @@ comments:
provider: addtoany
```

### AddThis

```yaml
comments:
provider: addthis
addthis:
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 [HRER](https://tianqi.name/jekyll-TeXt-theme/docs/en/layouts#article-layout).
{:.warning}

Expand Down
10 changes: 10 additions & 0 deletions docs/_docs/zh/2.1-configuration.md
Original file line number Diff line number Diff line change
Expand Up @@ -249,6 +249,7 @@ sources: bootcdn # bootcdn (default), unpkg
| 名称 | 分享系统提供方 |
| --- | --- |
| **addtoany** | [AddToAny](https://www.addtoany.com/) |
| **addthis** | [AddThis](https://www.addthis.com/) |

### AddToAny

Expand All @@ -257,6 +258,15 @@ comments:
provider: addtoany
```

### AddThis

```yaml
comments:
provider: addthis
addthis:
id: "your-addthis-pubid"
```

你需要在页面的头信息里设置 `sharing` 属性为 `true` 来开启该页的评论,详情请戳[这里](https://tianqi.name/jekyll-TeXt-theme/docs/zh/layouts#article-%E5%B8%83%E5%B1%80)。
{:.warning}

Expand Down
2 changes: 1 addition & 1 deletion test/_config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,7 +110,7 @@ sharing:

## AddThis
addthis:
id: # addthis pubid, e.g. ra-5xxxxxxxxxxx
id: # AddThis pubid, e.g. ra-5xxxxxxxxxxx


## => Comments
Expand Down

0 comments on commit 93bf6d8

Please sign in to comment.