Skip to content

Commit

Permalink
Make custom badges appear on same line
Browse files Browse the repository at this point in the history
  • Loading branch information
dmjones committed Oct 14, 2018
1 parent 3f3feb0 commit 7cc3bb6
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
# goreadme
[![GoDoc](https://godoc.org/github.com/dmjones/goreadme?status.svg)](https://godoc.org/github.com/dmjones/goreadme)

[![Build Status](https://travis-ci.com/dmjones/goreadme.svg?branch=master)](https://travis-ci.com/dmjones/goreadme)

goreadme converts Go package documentation into Github-friendly markdown,
Expand Down
2 changes: 1 addition & 1 deletion template.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ package main
var pkgtemplate = `# {{.PackageName}}
{{if .Config.ShowGodocBadge}}[![GoDoc](https://godoc.org/{{.ImportPath}}?status.svg)](https://godoc.org/{{.ImportPath}}){{end}}
{{if .Config.ShowGoReportBadge}}[![Go Report Card](https://goreportcard.com/badge/{{.ImportPath}})](https://goreportcard.com/report/{{.ImportPath}}){{end}}
{{range .Config.CustomMarkdownBadges}}{{.}}
{{- range .Config.CustomMarkdownBadges}}{{.}}
{{end}}
{{.PackageDocs}}
{{if .ExtraMarkdown}}
Expand Down

0 comments on commit 7cc3bb6

Please sign in to comment.