Edit button on translated pages working as well now (#12230)
This commit is contained in:
committed by
Kubernetes Prow Robot
parent
aac7862a06
commit
0ca5d446d9
@@ -1,5 +1,5 @@
|
||||
{{- $filepath := .page.File.Path }}
|
||||
{{- $editLink := printf "https://github.com/kubernetes/website/edit/master/content/en/%s" $filepath }}
|
||||
{{- $editLink := printf "https://github.com/kubernetes/website/edit/master/content/%s/%s" .page.Language.Lang $filepath }}
|
||||
<p>
|
||||
<a href="{{ $editLink }}" id="editPageButton" target="_blank">
|
||||
Edit This Page
|
||||
|
||||
Reference in New Issue
Block a user