Skip to content

Commit 153a38c

Browse files
authored
Merge pull request #424 from rjgoldsborough/add-shields-crate-page-again
adding badges to crate page
2 parents 381e84e + cc2dd2e commit 153a38c

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

app/templates/crate/version.hbs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@
6565
<div>
6666
<div class='last-update'><span class='small'>Last Updated</span></div>
6767
<div class='date'>{{moment-from-now crate.updated_at}}</div>
68+
<p>
69+
<img
70+
src="https://img.shields.io/crates/v/{{ crate.name }}.svg"
71+
alt="{{ crate.name }}’s current version badge"
72+
title="{{ crate.name }}’s current version badge" />
73+
</p>
6874
</div>
6975

7076
<div class="authors">

0 commit comments

Comments
 (0)