web frontend for git repositories, written in Go git.pocka.jp/legit.git
3

Configure Feed

Select the types of activity you want to include in your feed.

Add link for raw version of file

The original patch also contains support for image display in READMEs.
I (committer) removed the latter for brevity and revert-ability.

authored by

Anthony Wang and committed by
Shota FUJI
(Jul 11, 2026, 9:23 PM +0900) 66fa2bb5 f72154de

+4
+4
templates/repo-blob-ref.html.tmpl
··· 73 73 <aside class="aside"> 74 74 <dl class="metadata"> 75 75 {{- template "tab-selector" -}} 76 + <dt class="metadata--key">Raw</dt> 77 + <dd class="metadata--value"> 78 + <a href="?raw=true">View raw</a> 79 + </dd> 76 80 {{- range .PreviewTypes -}} 77 81 <dt class="metadata--key">Preview (<span class="preview-type">{{ . }}</span>)</dt> 78 82 <dd class="metadata--value">