Skip to content

Commit 79ac746

Browse files
authored
Fix documentation for the fallback mail subject (#15223)
The documentation for the [fallback mail subject](https://github.com/go-gitea/gitea/blob/d989247bb08d2b8eb144e7a0edeaedfc26d08175/services/mailer/mail_issue.go#L14-L16) was missing `{{}}` around `.Issue.Index`.
1 parent 9d57373 commit 79ac746

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/content/doc/advanced/mail-templates-us.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ did not include a subject part), Gitea's **internal default** will be used.
130130
The internal default (fallback) subject is the equivalent of:
131131

132132
```sh
133-
{{.SubjectPrefix}}[{{.Repo}}] {{.Issue.Title}} (#.Issue.Index)
133+
{{.SubjectPrefix}}[{{.Repo}}] {{.Issue.Title}} (#{{.Issue.Index}})
134134
```
135135

136136
For example: `Re: [mike/stuff] New color palette (#38)`

0 commit comments

Comments
 (0)