mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-12-27 22:23:50 +03:00
Fix documentation for the fallback mail subject (#15223)
The documentation for the [fallback mail subject](d989247bb0/services/mailer/mail_issue.go (L14-L16)
) was missing `{{}}` around `.Issue.Index`.
This commit is contained in:
parent
9d57373144
commit
79ac7468dc
1 changed files with 1 additions and 1 deletions
|
@ -130,7 +130,7 @@ did not include a subject part), Gitea's **internal default** will be used.
|
|||
The internal default (fallback) subject is the equivalent of:
|
||||
|
||||
```sh
|
||||
{{.SubjectPrefix}}[{{.Repo}}] {{.Issue.Title}} (#.Issue.Index)
|
||||
{{.SubjectPrefix}}[{{.Repo}}] {{.Issue.Title}} (#{{.Issue.Index}})
|
||||
```
|
||||
|
||||
For example: `Re: [mike/stuff] New color palette (#38)`
|
||||
|
|
Loading…
Reference in a new issue