Source

shlomi-fish-homepage / lib / cpan_dists.wml

Diff from to

lib/cpan_dists.wml

 
 </define-tag>
 
+<define-tag cpan_mod whitespace="delete" endtag="required">
+<preserve m />
+<set-var %attributes />
+<a href="http://metacpan.org/module/<get-var m />">%body</a>
+<restore m />
+</define-tag>
+
+<define-tag cpan_self_mod whitespace="delete">
+<preserve m />
+<set-var %attributes />
+<cpan_mod m="<get-var m />"><get-var m /></cpan_mod>
+<restore m />
+</define-tag>
+
+<define-tag cpan_dist whitespace="delete" endtag="required">
+<preserve d />
+<set-var %attributes />
+<a href="http://metacpan.org/release/<get-var d />">%body</a>
+<restore d />
+</define-tag>
+
+<define-tag cpan_self_dist whitespace="delete">
+<preserve d />
+<set-var %attributes />
+<cpan_dist d="<get-var d />"><get-var d /></cpan_dist>
+<restore d />
+</define-tag>
+
+<define-tag cpan_b_self_dist whitespace="delete">
+<preserve d />
+<set-var %attributes />
+<cpan_dist d="<get-var d />"><b><get-var d /></b></cpan_dist>
+<restore d />
+</define-tag>
+
 <define-tag cpan_homepage whitespace="delete">
 <preserve who />
 <set-var %attributes />