Author: Pedro Lucas Porcellis <porcellis@eletrotupi.com>
commit: display a "browse" link This enable browsing the repository at this commit ref
include/commit.html | 3 +++
diff --git a/include/commit.html b/include/commit.html index c3fb7b4cfada0fb3fb06143459b3ea2e701dbd4b..cf614b6e2da2187bcfbdc7d1d3705b13c4c65a60 100644 --- a/include/commit.html +++ b/include/commit.html @@ -19,6 +19,9 @@ <li class="nav-item"> <a class="nav-link" href="/{{ $repo }}/tree">Tree</a> </li> + <li class="nav-item"> + <a class="nav-link" href="/{{ $repo }}/tree/{{ .Commit.Hash }}">Browse</a> + </li> </ul> </div> </nav>