We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8d0e112 commit fc5751fCopy full SHA for fc5751f
templates/base/markup_codepreview.tmpl
@@ -1,6 +1,6 @@
1
<div class="code-preview-container file-content">
2
<div class="code-preview-header">
3
- <a href="{{.FullURL}}" rel="nofollow" class="tw-font-semibold">{{.RepoName}}/{{.FilePath}}</a>
+ <a href="{{.FullURL}}" class="tw-font-semibold" rel="nofollow">{{.RepoName}}/{{.FilePath}}</a>
4
{{$link := HTMLFormat `<a href="%s/commit/%s" class="muted tw-font-mono tw-text-text">%s</a>` .RepoLink .CommitID (.CommitID | ShortSha) -}}
5
{{- if eq .LineStart .LineStop -}}
6
{{ctx.Locale.Tr "repo.code_preview_line_in" .LineStart $link}}
0 commit comments