Skip to content

Commit

Permalink
优化评论邮件的显示。
Browse files Browse the repository at this point in the history
  • Loading branch information
movsb committed Apr 22, 2024
1 parent 9f0ca6f commit a99f41d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions cmd/config/comment.go
Expand Up @@ -30,7 +30,7 @@ func DefaultCommentTemplatesConfig() CommentTemplatesConfig {
const adminTemplate = `
<b>您的博文“{{.Title}}”有新的评论啦!</b><br/><br/>
<div>{{ .Content }}</div>
<pre>{{ .Content }}</pre>
<br/>
<b>链接:</b><a href="{{.Link}}">{{.Link}}</a><br/>
Expand All @@ -43,7 +43,7 @@ func DefaultCommentTemplatesConfig() CommentTemplatesConfig {
const guestTemplate = `
<b>您在博文“{{.Title}}”的评论有新的回复啦!</b><br/><br/>
<div>{{ .Content }}</div>
<pre>{{ .Content }}</pre>
<br/>
<b>链接:</b><a href="{{.Link}}">{{.Link}}</a><br/>
Expand Down

0 comments on commit a99f41d

Please sign in to comment.