update title

This commit is contained in:
aichy126 2022-12-12 14:29:13 +08:00
parent c368f93e12
commit ca443872c7
1 changed files with 1 additions and 1 deletions

View File

@ -328,7 +328,7 @@ func (tc *TemplateController) TagInfo(ctx *gin.Context) {
if siteInfo.General.PermaLink == schema.PermaLinkQuestionIDAndTitle {
UrlUseTitle = true
}
siteInfo.Title = fmt.Sprintf("%s - %s", taginifo.DisplayName, siteInfo.General.Name)
siteInfo.Title = fmt.Sprintf("'%s' Questions - %s", taginifo.DisplayName, siteInfo.General.Name)
tc.html(ctx, http.StatusOK, "tag-detail.html", siteInfo, gin.H{
"tag": taginifo,
"questionList": questionList,