Skip to content

Commit

Permalink
docs: update authors
Browse files Browse the repository at this point in the history
  • Loading branch information
kitian616 committed Jan 27, 2019
1 parent 5003287 commit 50b6fca
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 17 deletions.
21 changes: 12 additions & 9 deletions docs/_data/authors.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,15 @@ Tian Qi:
url: https://tianqi.name
avatar: https://wx3.sinaimg.cn/large/73bd9e13ly1fjkqy66hl8j208c08c0td.jpg # your photo
bio: The Creator of TeXt.
email: kitian616@outlook.com # your Email address e.g. someone@site.com
facebook: # your Facebook username
twitter: kitian616 # your Twitter username
github: kitian616 # your GitHub username
linkedin: # your Linkedin username
googleplus: 101827554735084402671 # your Google+ username
weibo: 234695683 # your Weibo username
douban: # your Douban username
npm: # your npm username
email: kitian616@outlook.com
facebook : # "user_name" the last part of your profile url, e.g. https://www.facebook.com/user_name
twitter : kitian616 # "user_name" the last part of your profile url, e.g. https://twitter.com/user_name
weibo : 234695683 # "user_id" the last part of your profile url, e.g. https://www.weibo.com/user_id/profile?...
googleplus: 101827554735084402671 # "user_id" the last part of your profile url, e.g. https://plus.google.com/u/0/user_id
telegram : # "user_name" the last part of your profile url, e.g. https://t.me/user_name
medium : # "user_name" the last part of your profile url, e.g. https://medium.com/user_name
douban : # "user_name" the last part of your profile url, e.g. https://www.douban.com/people/user_name/
linkedin : # "user_name" the last part of your profile url, e.g. https://www.linkedin.com/in/user_name/
github : kitian616 # "user_name" the last part of your profile url, e.g. https://github.com/user_name
npm : # "user_name" the last part of your profile url, e.g. https://www.npmjs.com/~user_name

15 changes: 11 additions & 4 deletions docs/_docs/en/2.5-authors.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,17 @@ Tian Qi:
avatar : https://wx3.sinaimg.cn/large/73bd9e13ly1fjkqy66hl8j208c08c0td.jpg
bio : Author of TeXt.
email : kitian616@outlook.com
twitter : kitian616
github : kitian616
googleplus: 101827554735084402671
weibo : 234695683
facebook : # "user_name" the last part of your profile url, e.g. https://www.facebook.com/user_name
twitter : kitian616 # "user_name" the last part of your profile url, e.g. https://twitter.com/user_name
weibo : 234695683 # "user_id" the last part of your profile url, e.g. https://www.weibo.com/user_id/profile?...
googleplus: 101827554735084402671 # "user_id" the last part of your profile url, e.g. https://plus.google.com/u/0/user_id
telegram : # "user_name" the last part of your profile url, e.g. https://t.me/user_name
medium : # "user_name" the last part of your profile url, e.g. https://medium.com/user_name
douban : # "user_name" the last part of your profile url, e.g. https://www.douban.com/people/user_name/
linkedin : # "user_name" the last part of your profile url, e.g. https://www.linkedin.com/in/user_name/
github : kitian616 # "user_name" the last part of your profile url, e.g. https://github.com/user_name
npm : # "user_name" the last part of your profile url, e.g. https://www.npmjs.com/~user_name

```

Assign one of the authors in *authors.yml* to a post or page you wish to override the `site.author` with.
Expand Down
15 changes: 11 additions & 4 deletions docs/_docs/zh/2.5-authors.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,17 @@ Tian Qi:
avatar : https://wx3.sinaimg.cn/large/73bd9e13ly1fjkqy66hl8j208c08c0td.jpg
bio : Author of TeXt.
email : kitian616@outlook.com
twitter : kitian616
github : kitian616
googleplus: 101827554735084402671
weibo : 234695683
facebook : # "user_name" the last part of your profile url, e.g. https://www.facebook.com/user_name
twitter : kitian616 # "user_name" the last part of your profile url, e.g. https://twitter.com/user_name
weibo : 234695683 # "user_id" the last part of your profile url, e.g. https://www.weibo.com/user_id/profile?...
googleplus: 101827554735084402671 # "user_id" the last part of your profile url, e.g. https://plus.google.com/u/0/user_id
telegram : # "user_name" the last part of your profile url, e.g. https://t.me/user_name
medium : # "user_name" the last part of your profile url, e.g. https://medium.com/user_name
douban : # "user_name" the last part of your profile url, e.g. https://www.douban.com/people/user_name/
linkedin : # "user_name" the last part of your profile url, e.g. https://www.linkedin.com/in/user_name/
github : kitian616 # "user_name" the last part of your profile url, e.g. https://github.com/user_name
npm : # "user_name" the last part of your profile url, e.g. https://www.npmjs.com/~user_name

```

将在 *authors.yml* 中定义的作者作为某篇文章或页面的作者以覆盖 `site.author` 全局作者。
Expand Down

0 comments on commit 50b6fca

Please sign in to comment.