diff options
author | Russ Allbery <rra@cpan.org> | 2020-01-08 18:26:17 -0800 |
---|---|---|
committer | Russ Allbery <rra@cpan.org> | 2020-01-08 18:26:17 -0800 |
commit | dcd4055cb3b9cdd7e4b33898c2718acb83abfe20 (patch) | |
tree | 38f229835c47aa7dc475b3ebcd0fc78123c5bb86 /share | |
parent | 565c5a7f0f6fc0388dbf03fd905e5b22a061c853 (diff) |
Add license badge for CPAN packages
For CPAN packages pushed to GitHub, add a license badge to the
Markdown README file.
Diffstat (limited to 'share')
-rw-r--r-- | share/templates/readme-md.tmpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/share/templates/readme-md.tmpl b/share/templates/readme-md.tmpl index bb8388c..50712bc 100644 --- a/share/templates/readme-md.tmpl +++ b/share/templates/readme-md.tmpl @@ -2,7 +2,7 @@ [% IF vcs.travis || distribution.cpan || orphaned %] [% IF orphaned %][![No maintenance intended](http://unmaintained.tech/badge.svg)](http://unmaintained.tech/) [% END -%] [% IF vcs.travis %][![Build status](https://travis-ci.org/[% vcs.travis %].svg?branch=master)](https://travis-ci.org/[% vcs.travis %]) [% END -%] -[% IF distribution.cpan %][![CPAN version](https://img.shields.io/cpan/v/[% distribution.cpan %].svg)](https://metacpan.org/release/[% distribution.cpan %])[% END -%] +[% IF distribution.cpan %][![CPAN version](https://img.shields.io/cpan/v/[% distribution.cpan %].svg)](https://metacpan.org/release/[% distribution.cpan %])[% IF vcs.github %] [![License](https://img.shields.io/cpan/l/[% distribution.cpan %])](https://github.com/[% vcs.github %]/blob/master/LICENSE)[% END %][% END -%] [% END %] [% FOREACH copr IN copyrights %]Copyright [% copr.years %] |