Skip to content

Commit

Permalink
feat: enhance Waline comment configuration with avatar options
Browse files Browse the repository at this point in the history
- Added avatar settings including 'avatar', 'avatarCDN', and 'avatarForce' to the Waline comment configuration in waline.html.
- Updated placeholder text for the comment input field to maintain consistency.
  • Loading branch information
developer committed Dec 5, 2024
1 parent 1802039 commit 2c5cfef
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion _includes/comments/waline.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,10 @@
login: 'disable',
requiredMeta: ['nick', 'mail'],
meta: ['nick', 'mail', 'link'],
placeholder: '欢迎评论!昵称和邮箱为必填项~'
placeholder: '欢迎评论!昵称和邮箱为必填项~',
avatar: 'retro',
avatarCDN: 'https://seccdn.libravatar.org/avatar/',
avatarForce: false
});
</script>
<link rel="stylesheet" href="https://unpkg.com/@waline/client@v2/dist/waline.css" />

0 comments on commit 2c5cfef

Please sign in to comment.