Skip to content

Latest commit

 

History

History
57 lines (44 loc) · 1.06 KB

README.md

File metadata and controls

57 lines (44 loc) · 1.06 KB

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: 合著者