smithy

commit a4eea12d15491ea8dba736f9a6fff09630a77f97

Author: Doug Hellmann <doug@doughellmann.com>

blob view: remove extra prefix in path value

Files immediately under the root of the repo were being rendered as
`././name` because the template includes a static `./` value. Remove
that so the path is always accurate.

Signed-off-by: Doug Hellmann <doug@doughellmann.com>

 include/blob.html | 2 +-


diff --git a/include/blob.html b/include/blob.html
index 334dcf02fe9a5bdcc4ce9570b0d4066adb32e358..b49af5b32ea2ad2858252a1effd8ff47b73c6d7d 100644
--- a/include/blob.html
+++ b/include/blob.html
@@ -28,7 +28,7 @@ {{ $subtree := .SubTree }}
 {{ $ref := .RefName }}
 
 <p>ref: {{ $ref }}</p>
-<p>./<a href="/{{ $repo }}/tree/{{ $ref }}/{{ .ParentPath }}">{{ .ParentPath }}</a>/{{ .File.Name }}</p>
+<p><a href="/{{ $repo }}/tree/{{ $ref }}/{{ .ParentPath }}">{{ .ParentPath }}</a>/{{ .File.Name }}</p>
 
 <hr>