mirror of
https://github.com/ClovertaTheTrilobita/SanYeCao-blog.git
synced 2026-07-03 15:41:26 +00:00
added comments desc
This commit is contained in:
parent
eeff9fa4f6
commit
6e84ef4884
3 changed files with 9 additions and 0 deletions
|
|
@ -15,6 +15,10 @@ export default {
|
||||||
writtenBy: "Written by",
|
writtenBy: "Written by",
|
||||||
comments: "Comments",
|
comments: "Comments",
|
||||||
publishedOn: "Published on",
|
publishedOn: "Published on",
|
||||||
|
commentsDesc: [
|
||||||
|
"Feel free to leave your thoughts here. 💭💡",
|
||||||
|
"After signing in, you can click the “Subscribe by Email” button at the bottom right of the text box to receive notifications of new interactions via email."
|
||||||
|
]
|
||||||
},
|
},
|
||||||
theme: {
|
theme: {
|
||||||
toggle: "Toggle theme",
|
toggle: "Toggle theme",
|
||||||
|
|
|
||||||
|
|
@ -15,6 +15,10 @@ export default {
|
||||||
writtenBy: "作者",
|
writtenBy: "作者",
|
||||||
comments: "评论",
|
comments: "评论",
|
||||||
publishedOn: "发布于",
|
publishedOn: "发布于",
|
||||||
|
commentsDesc: [
|
||||||
|
"欢迎在这里留下你的想法。💭💡",
|
||||||
|
"你可以在登录评论区后,点击文本框右下角的「Subscribe by Email」以通过邮件接收最新的互动通知。"
|
||||||
|
]
|
||||||
},
|
},
|
||||||
theme: {
|
theme: {
|
||||||
toggle: "切换主题",
|
toggle: "切换主题",
|
||||||
|
|
|
||||||
|
|
@ -87,6 +87,7 @@ const t = getTranslations(lang);
|
||||||
<PostNav post={post} lang={lang} />
|
<PostNav post={post} lang={lang} />
|
||||||
|
|
||||||
<h2>{comments}</h2>
|
<h2>{comments}</h2>
|
||||||
|
{t.post.commentsDesc.map((line: string) => <p set:html={line} />)}
|
||||||
<Remark42Embed slug={slug} />
|
<Remark42Embed slug={slug} />
|
||||||
</article>
|
</article>
|
||||||
</BaseLayout>
|
</BaseLayout>
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue