diff options
Diffstat (limited to 'templates/index.html')
-rw-r--r-- | templates/index.html | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/templates/index.html b/templates/index.html index 50b6004..2599bf0 100644 --- a/templates/index.html +++ b/templates/index.html @@ -17,6 +17,9 @@ <tbody> {{ range $key, $value := .Packages }} {{ $importPath := printf "%v/%v" $.URL $key }} + {{ if ne $value.URL "" }} + {{ $importPath = printf "%v/%v" $value.URL $key }} + {{ end }} <tr> <td>{{ $importPath }}</td> <td> |