Anonymous avatar Anonymous committed cdbed2f

Extracted a macro for the Amazon wishlist link.

Comments (0)

Files changed (2)

 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>

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>
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.