{{if eq .HookType "gogs"}}

{{.i18n.Tr "repo.settings.add_webhook_desc" "https://gogs.io/docs/features/webhook.html" | Str2html}}

{{.CSRFTokenHTML}}

{{.i18n.Tr "repo.settings.secret_desc" | Safe}}

{{template "repo/settings/webhook/settings" .}}
{{end}}