mirror of
https://code.sup39.dev/repos/Wqawg
synced 2024-12-26 13:34:52 +09:00
feat: add raw file link in source file browser
This commit is contained in:
parent
cc676504bc
commit
8c7ed627b6
1 changed files with 1 additions and 1 deletions
|
@ -87,7 +87,7 @@ $if not $ null looms
|
||||||
|
|
||||||
$case sv
|
$case sv
|
||||||
$of SourceFile (FileView name body)
|
$of SourceFile (FileView name body)
|
||||||
<h2>#{name}
|
<h2>#{name} <a href=@{RepoBranchRawR repo ref dir}>[Raw]</a>
|
||||||
^{body}
|
^{body}
|
||||||
$of SourceDir (DirectoryView mname ents mreadme)
|
$of SourceDir (DirectoryView mname ents mreadme)
|
||||||
<h2>#{fromMaybe "Files" mname}
|
<h2>#{fromMaybe "Files" mname}
|
||||||
|
|
Loading…
Reference in a new issue