1
0
Fork 0
mirror of https://code.naskya.net/repos/ndqEd synced 2025-01-08 19:06:45 +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 committed by naskya
parent e42a61e293
commit 8a096c09a9
Signed by: naskya
GPG key ID: 712D413B3A9FED5C

View file

@ -87,7 +87,7 @@ $if not $ null looms
$case sv
$of SourceFile (FileView name body)
<h2>#{name}
<h2>#{name} <a href=@{RepoBranchRawR repo ref dir}>[Raw]</a>
^{body}
$of SourceDir (DirectoryView mname ents mreadme)
<h2>#{fromMaybe "Files" mname}