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

Refactor/author avater #288

Merged
merged 2 commits into from
Feb 16, 2023
Merged

Refactor/author avater #288

merged 2 commits into from
Feb 16, 2023

Conversation

Lruihao
Copy link
Member

@Lruihao Lruihao commented Feb 16, 2023

  1. gravatarEmailparams.gravatar.enable=true 时才生效
  2. 调整 frontmatter: author 数据类型由 string 变成 map
  3. 删除 frontmatter: gravatarForceauthorLinkauthorEmail
  4. 新增 frontmatter: [boolean] authorAvatar
  5. 新增 params.gravatar.enable

Author config:

author:
  name: "" # 文章作者
  link: "" # 文章作者的链接
  email: "" # 文章作者的邮箱,用于设置 Gravatar 头像,优先于 `author.avatar`
  avatar: "" # 文章作者的头像

@vercel
Copy link

vercel bot commented Feb 16, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated
fixit ✅ Ready (Inspect) Visit Preview Feb 16, 2023 at 9:03AM (UTC)

@Lruihao Lruihao self-assigned this Feb 16, 2023
@Lruihao Lruihao added the enhancement New feature or request label Feb 16, 2023
@Lruihao Lruihao added this to the v0.2.18 milestone Feb 16, 2023
@Lruihao Lruihao merged commit 7ff750a into dev Feb 16, 2023
@Lruihao Lruihao deleted the refactor/author-avater branch February 16, 2023 09:07
Lruihao added a commit that referenced this pull request Mar 25, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

1 participant