There was an error while loading. Please reload this page.
1 parent 07ca1a4 commit 1c65fa5Copy full SHA for 1c65fa5
1 file changed
site/layouts/partials/page-edit.html
@@ -1,5 +1,11 @@
1
{{ if .File }}
2
+{{ if eq .Section "api-documentation" }}
3
+<a href="https://github.com/mattermost/mattermost/tree/master/api/v4/source" class="float-right edit-github">
4
+ Edit on GitHub
5
+</a>
6
+{{ else }}
7
<a href="{{.Site.Params.ghrepo}}edit/master/site/content/{{ .File.Path }}" class="float-right edit-github">
8
Edit on GitHub
9
</a>
10
{{ end }}
11
+{{ end }}
0 commit comments