0.0.2 • Published 5 years ago

hexo-next-author v0.0.2

Weekly downloads
4
License
LGPL-3.0
Repository
github
Last release
5 years ago

Hexo Next Coauthor

Theme Version Package Version

Add coauthor post meta for NexT theme

image

Install

npm install theme-next/hexo-next-coauthor

Used in front-matter

title: Hello! NexT Test Site
coauthor: Mr.J
title: Hello! NexT Test Site
coauthor:
  - Mr.J
  - Jone

Configuration

Modify coauthors info.

# 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

default:
  coauthor: 合著者
en:
  coauthor: Coauthor
zh-CN:
  coauthor: 合著者
zh-TW:
  coauthor: 合著者
0.0.2

5 years ago

0.0.1

5 years ago