mirror of https://gitee.com/answerdev/answer.git
update title
This commit is contained in:
parent
c368f93e12
commit
ca443872c7
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue