1
0
Fork 0
mirror of https://code.sup39.dev/repos/Wqawg synced 2024-12-27 02:04:52 +09:00

feat: add raw file link in source file browser

This commit is contained in:
sup39 2024-01-10 07:09:59 +09:00
parent cc676504bc
commit 8c7ed627b6
Signed by: sup39
GPG key ID: 111C00916C1641E5

View file

@ -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}