1.1.2 • Published 5 years ago

hexo-author v1.1.2

Weekly downloads
8
License
ISC
Repository
github
Last release
5 years ago

hexo-author

generate the article's author from github config, when multiple people maintain a blog.

---
author: XXX
email: XXX@XXX.com
... other things
---

how to use

npm i --save hexo-author

if you want to get some info from github api

you can set it on _config.yml

Two ways to use:

gitinfo:
  - avatar_url
  - html_url
gitinfo:
  avatar_url: aliasAvatar
  html_url: aliasUrl

propertys

https://api.github.com/users/<username>
module.exports = [
  'login',
  'id',
  'avatar_url',
  'gravatar_id',
  'url',
  'html_url',
  'followers_url',
  'following_url',
  'gists_url',
  'starred_url',
  'subscriptions_url',
  'organizations_url',
  'repos_url',
  'events_url',
  'received_events_url',
  'type',
  'site_admin',
  'name',
  'company',
  'blog',
  'location',
  'email',
  'hireable',
  'bio',
  'public_repos',
  'public_gists',
  'followers',
  'following',
  'created_at',
  'updated_at'
]
1.1.2

5 years ago

1.1.1

7 years ago

1.0.0

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago