[opt] comment_title

This commit is contained in:
xaoxuu 2024-02-06 23:51:08 +08:00
parent c58fc191e8
commit 166540eecc
5 changed files with 2 additions and 4 deletions

View File

@ -155,6 +155,7 @@ search:
######## Comments ########
comments:
service: # beaudar, utterances, giscus, twikoo, waline, artalk
comment_title: 快来参与讨论吧~
# beaudar
# https://beaudar.lipk.org/
beaudar:

View File

@ -25,7 +25,6 @@ meta:
newer: Newer
references: References
related_posts: Related Posts
comment_title: Join the discussion
back_to_top: Back to top
more: More
created_author: '%s posted on'

View File

@ -25,7 +25,6 @@ meta:
newer: 较新文章
references: 参考资料
related_posts: 您可能感兴趣的文章
comment_title: 快来参与讨论吧
back_to_top: 回到顶部
more: 更多
created_author: 本文由 %s 发布于

View File

@ -25,7 +25,6 @@ meta:
newer: 較新文章
references: 參考資料
related_posts: 您可能感興趣的文章
comment_title: 參與討論
back_to_top: 回到頁首
more: 更多
created_author: 本文由 %s 發布於

View File

@ -33,7 +33,7 @@ page.cmt = cmt;
<% if (loadComment) { %>
<div class="related-wrap md-text<%- scrollreveal(' ') %>" id="comments">
<section class='header cmt-title cap theme'>
<%- page.comment_title != undefined ? markdown(page.comment_title) : __('meta.comment_title') %>
<%- markdown(page.comment_title || theme.comments.comment_title) %>
</section>
<section class='body cmt-body <%- cmt.service %>'>
<%- partial(cmt.service + '/layout') %>