Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(client): add admin comment badge for client #118

Merged
merged 1 commit into from
Jan 3, 2021

Conversation

lizheming
Copy link
Collaborator

@lizheming lizheming commented Jan 3, 2021

fix #115

The default badge text is Admin, If you want to custom text, you can set langMode.admin property like following:

Waline({
  el: '#comments',
  serverURL: 'xxx',
  langMode: {
    admin: 'God'
  }
});

默认角标文案是 博主。你可以设置 langMode.admin 字段来自定义文案:

Waline({
  el: '#comments',
  serverURL: 'xxx',
  langMode: {
    admin: '玉皇大帝'
  }
});

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

客户端增加博主标识
1 participant