Skip to content

Commit

Permalink
use badges for tags
Browse files Browse the repository at this point in the history
  • Loading branch information
mkevac committed May 9, 2020
1 parent c8ab993 commit f9427c8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -249,9 +249,9 @@ func saveIndexFile(coubs []CoubResponse, destinationDir string) error {
fmt.Fprintf(out, "<td>\n")
for i, tag := range coub.Tags {
if i != 0 {
fmt.Fprintf(out, ", ")
fmt.Fprintf(out, " ")
}
fmt.Fprintf(out, "%s", tag.Title)
fmt.Fprintf(out, "<div class=\"badge badge-primary\">%s</div>", tag.Title)
}
fmt.Fprintf(out, "</td>\n")
fmt.Fprintf(out, "<td>\n")
Expand Down

0 comments on commit f9427c8

Please sign in to comment.