Commits

Anonymous committed cdbed2f

Extracted a macro for the Amazon wishlist link.

  • Participants
  • Parent commits 2d7ae29

Comments (0)

Files changed (2)

File lib/amazon.wml

 http://www.amazon.com/exec/obidos/ASIN/<get-var id />/ref=nosim/shlomifishhom-20
 <restore id />
 </define-tag>
+
+<define-tag amazon_wishlist_link whitespace="delete">
+http://www.amazon.com/gp/registry/3K9IITLFAIUG2/wishlist
+</define-tag>

File t2/meta/donate/index.html.wml

 #include '../template.wml'
 
+#include "amazon.wml"
+
 <latemp_subject "I accept Donations" />
 
 <p>
 I decided to ask for donations using PayPal. <b>So if what I created has 
 benefited you in some way, please consider donating</b>. If you don't want
 to make a direct monetary donation, you can also 
-<a href="http://www.amazon.com/gp/registry/3K9IITLFAIUG2/wishlist">purchase
+<a href="<amazon_wishlist_link />" rel="amazon wishlist">purchase
 items out of my <b>Amazon.com wishlist</b></a>.
 </p>
 
 <paypal_donate_code type="nolink" />
 
 <p>
-<a href="http://www.amazon.com/gp/registry/3K9IITLFAIUG2/wishlist">Amazon.com Wishlist</a>
+<a href="<amazon_wishlist_link />" rel="amazon wishlist">Amazon.com Wishlist</a>
 </p>