Commits

Anonymous committed 02c482b

r4943@telaviv1: shlomi | 2008-05-04 23:28:11 +0300
Added an abstraction for the www.iglu.org.il URLs.

Comments (0)

Files changed (3)

+<define-tag iglu_url whitespace="delete">
+<preserve url />
+<set-var %attributes />
+http://www.shlomifish.org/Iglu/<get-var url />
+<restore url />
+</define-tag>

t2/MathVentures/toggle_squares.html.wml

 #include '../template.wml'
 
+#include "iglu.wml"
+
 <latemp_subject "Toggling Squares is not that Trivial..." />
 
 <p>
 </p>
 
 <p>
-I have also written an implementation of it in JavaScript. It can be found 
-here:
-</p>
-
-<p>
-<a href="http://www.iglu.org.il/shlomif/toggle_squares/">
-http://www.iglu.org.il/shlomif/toggle_squares/
-</a>
+I have also written <a href="<iglu_url url="shlomif/toggle_squares/" />">an implementation of it in JavaScript</a>.
 </p>
 
 <p>

t2/lecture/Perl/Template-Toolkit/index.html.wml

 #include '../template.wml'
+#include "iglu.wml"
 
 <latemp_subject "Lightning Talk: The Template Toolkit" />
 
-<h2><a href="http://www.iglu.org.il/shlomif/lecture/Template-Toolkit/">The 
+<h2><a href="<iglu_url url="shlomif/lecture/Template-Toolkit/" />">The 
 Slides</a></h2>
 
 <h2>Introduction</h2>