diff --git a/distribusi.go b/distribusi.go index 0a35c74..d908c56 100644 --- a/distribusi.go +++ b/distribusi.go @@ -576,10 +576,10 @@ func getHref(c *cli.Context, fpath string, mtype string) (bool, string, error) { thumb, err := genThumb(c, fpath, caption) if err != nil { logrus.Debugf("failed to generate thumbnail for %s, showing original image", fpath) - href = fmt.Sprintf("", stype, fname) + href = fmt.Sprintf("", stype, fname) } else { href = fmt.Sprintf( - "
%s
", + "
%s
", fname, thumb, caption, ) }