mirror of
https://github.com/docker/docs.git
synced 2026-03-27 14:28:47 +07:00
24 lines
848 B
HTML
24 lines
848 B
HTML
{{ if hugo.IsProduction }}
|
|
{{ with .File }}
|
|
{{ if not (in .Filename "/_vendor/") }}
|
|
<p class="flex items-center gap-2">
|
|
<span class="icon-svg">{{ partial "icon" "edit" }}</span>
|
|
<a class="link external-link" target="_blank" rel="noopener"
|
|
href="{{ site.Params.repo }}/edit/main/content/{{ .Path }}">{{ T "editPage" }}
|
|
<span class="icon-svg">
|
|
{{- partial "icon" "open_in_new" -}}
|
|
</span></a>
|
|
</p>
|
|
{{ end }}
|
|
{{ end }}
|
|
<p class="flex items-center gap-2">
|
|
<span class="icon-svg">{{ partial "icon" "done" }}</span>
|
|
<a class="link external-link" target="_blank" rel="noopener"
|
|
href="{{ site.Params.repo }}/issues/new?template=doc_issue.yml&location={{ .Permalink }}&labels=status%2Ftriage">{{ T "requestChanges" }}
|
|
<span class="icon-svg">
|
|
{{- partial "icon" "open_in_new" -}}
|
|
</span></a>
|
|
</a>
|
|
</p>
|
|
{{ end }}
|