website for lusty lavender: http://eln.ja13.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 

8 lines
482 B

m4_define([[ll_badges]], [[<div class="badges">
ll_each_badge($@)
</div>]])m4_dnl
m4_define([[ll_each_badge]], [[m4_ifelse([[$#$1]], [[1]], [[]], [[$#]], [[0]], [[]], [[ll_badge($1)
$0(m4_shift($@))]])]])m4_dnl
m4_define([[ll_badge]], [[m4_ifelse([[$4]], [[]], [[<div]], [[<a href="$4"]]) class="badge" m4_ifelse([[$3]], [[]], [[]], [[style="$3"]])>
<img src="m4_ifelse([[$2]], [[]], [[img/placeholder.png]], [[$2]])"/><p>$1</p>
</m4_ifelse([[$4]], [[]], [[div]], [[a]])>]])m4_dnl