Fix edit page button at bottom of pages. (#10517)

This commit is contained in:
Andrew Chen
2018-10-05 15:13:03 -07:00
committed by k8s-ci-robot
parent 5f34b71022
commit 58aa2d5c30
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -37,7 +37,7 @@
{{ end }}
{{ end }}
{{ if not .Params.noedit }}
<a href="{{ printf "%s#%s" ("docs/editdocs" | relURL) .Path | safeURL }}" class="button issue">{{ T "main_edit_this_page" }}</a>
<a href="https://github.com/kubernetes/website/edit/master/content/{{ .Site.Language.Lang }}/{{ .File.Path }}" class="button issue">{{ T "main_edit_this_page" }}</a>
{{ end }}
</div>
{{ if not .Params.showcommit }}