We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56dd034 commit 16bf69cCopy full SHA for 16bf69c
templates/repo/home.tmpl
@@ -82,6 +82,7 @@
82
<span class="breadcrumb-divider">/</span>
83
{{- if eq $i $l -}}
84
<span class="active section" title="{{$v}}">{{$v}}</span>
85
+ <button class="btn interact-fg tw-mx-1" data-clipboard-text="{{$.TreePath}}" data-tooltip-content="{{ctx.Locale.Tr "copy_path"}}">{{svg "octicon-copy" 14}}</button>
86
{{- else -}}
87
{{$p := index $.Paths $i}}<span class="section"><a href="{{$.BranchLink}}/{{PathEscapeSegments $p}}" title="{{$v}}">{{$v}}</a></span>
88
{{- end -}}
0 commit comments