Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theme-next/hexo-next-coauthor
Add coauthor post meta for NexT theme.
https://github.com/theme-next/hexo-next-coauthor
Last synced: about 20 hours ago
JSON representation
Add coauthor post meta for NexT theme.
- Host: GitHub
- URL: https://github.com/theme-next/hexo-next-coauthor
- Owner: theme-next
- Created: 2019-08-30T05:40:28.000Z (about 5 years ago)
- Default Branch: master
- Last Pushed: 2023-03-17T21:59:04.000Z (over 1 year ago)
- Last Synced: 2024-08-02T09:26:16.284Z (3 months ago)
- Language: JavaScript
- Homepage:
- Size: 3.91 KB
- Stars: 6
- Watchers: 8
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-next - hexo-next-coauthor
README
# Hexo Next Coauthor
![Theme Version](https://img.shields.io/badge/NexT-v7.3.0+-blue?style=flat-square)
![Package Version](https://img.shields.io/github/package-json/v/theme-next/hexo-next-coauthor?style=flat-square)Add coauthor post meta for NexT theme
![image](https://user-images.githubusercontent.com/15902347/63995254-7bf17f00-cb2a-11e9-8df5-2a6b07697aea.png)
## Install
```bash
npm install theme-next/hexo-next-coauthor
```Used in front-matter
```yml
title: Hello! NexT Test Site
coauthor: Mr.J
``````yml
title: Hello! NexT Test Site
coauthor:
- Mr.J
- Jone
```## Configuration
Modify coauthors info.
```yml
# Add some descriptions to your co-authors
coauthors:
[Mr.J]:
# It will display nick
nick: Jackson
# When your co-authors is click, will jump to there
link: https://www.dnocm.com
# It defines the order of precedence in post meta
#post_meta_order: 0
```Add i18n by write in `source/_data/languages.yml`
```yml
default:
coauthor: 合著者
en:
coauthor: Coauthor
zh-CN:
coauthor: 合著者
zh-TW:
coauthor: 合著者
```