summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorDavid Crocker <djcrock@users.noreply.github.com>2021-03-31 11:36:21 -0400
committerGitHub <noreply@github.com>2021-03-31 11:36:21 -0400
commit79ac7468dc541bafc9a7174882c9ff31792089d6 (patch)
tree8906b4e8dacc9d74f1e7cbab7d679f3e6818a68b /docs
parent9d573731445d2ff212e92b12b90e724cc2ab34ec (diff)
downloadgitea-79ac7468dc541bafc9a7174882c9ff31792089d6.tar.gz
gitea-79ac7468dc541bafc9a7174882c9ff31792089d6.zip
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`.
Diffstat (limited to 'docs')
-rw-r--r--docs/content/doc/advanced/mail-templates-us.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/content/doc/advanced/mail-templates-us.md b/docs/content/doc/advanced/mail-templates-us.md
index 247f31f68c..bf1daff8e9 100644
--- a/docs/content/doc/advanced/mail-templates-us.md
+++ b/docs/content/doc/advanced/mail-templates-us.md
@@ -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)`