Merge pull request #21231 from Lonor/master

Bind the link of the page history to the language
This commit is contained in:
Kubernetes Prow Robot
2020-05-28 14:37:15 -07:00
committed by GitHub
+1 -1
View File
@@ -26,7 +26,7 @@
<div id="lastedit" class="lastedit issue-button-container">
{{ T "main_page_last_modified_on" }} {{ .GitInfo.AuthorDate.Format "January 02, 2006 at 3:04 PM PST" }} {{ T "main_by" }}
<a href="https://github.com/kubernetes/website/commit/{{ .GitInfo.Hash }}/">{{ .GitInfo.Subject }}</a> (<a href="https://github.com/kubernetes/website/commits/master/content/en/{{ .File.Path }}">{{ T "main_page_history" }}</a>)
<a href="https://github.com/kubernetes/website/commit/{{ .GitInfo.Hash }}/">{{ .GitInfo.Subject }}</a> (<a href="https://github.com/kubernetes/website/commits/master/content/{{ site.Language.Lang }}/{{ .File.Path }}">{{ T "main_page_history" }}</a>)
</div>
{{ end }}
</div>