Skip to content

Commit fc5751f

Browse files
committed
swap
1 parent 8d0e112 commit fc5751f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

templates/base/markup_codepreview.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
<div class="code-preview-container file-content">
22
<div class="code-preview-header">
3-
<a href="{{.FullURL}}" rel="nofollow" class="tw-font-semibold">{{.RepoName}}/{{.FilePath}}</a>
3+
<a href="{{.FullURL}}" class="tw-font-semibold" rel="nofollow">{{.RepoName}}/{{.FilePath}}</a>
44
{{$link := HTMLFormat `<a href="%s/commit/%s" class="muted tw-font-mono tw-text-text">%s</a>` .RepoLink .CommitID (.CommitID | ShortSha) -}}
55
{{- if eq .LineStart .LineStop -}}
66
{{ctx.Locale.Tr "repo.code_preview_line_in" .LineStart $link}}

0 commit comments

Comments
 (0)