Anonymous avatar Anonymous committed 11ba916

Revamped the contact-me page.

Comments (0)

Files changed (4)

-WML_FLAGS += --passoption=2,-X3074 --passoption=3,-I../lib/ -DROOT~.
+WML_FLAGS += --passoption=2,-X3074 --passoption=3,-I../lib/ -I../lib/ -DROOT~.
 
 # t2 macros
 
     - Add the vote libertarian page and button.
 
 * Add more essays I wrote to the Essays Index.
+
+* Fix the link to the /-URL bug that causes links to seem unavailable.
+
+* Create a nice style for the <dl class="contact"> on t2/me/contact-me/
+
+<define-tag url_body_link>
+<preserve href />
+<set-var <attributes-extract href %attributes> />
+<a <attributes-quote <attributes-remove "/" %attributes> > ><get-var href /></a>
+<restore href />
+</define-tag>
+

t2/me/contact-me/index.html.wml

 #include '../template.wml'
+#include <utils.wml>
 <subject "How to Reach Me" />
 
-<p>
-<b>Homepage:</b> <a href="http://www.shlomifish.org/">http://www.shlomifish.org/</a><br />
-<b>E-mail:</b> <a href="mailto:shlomif@iglu.org.il">shlomif@iglu.org.il</a><br />
-<b>Instant Messaging:</b><br />
-<ul class="nospace">
-<li><b>Jabber:</b> ShlomiFish@jabber.org</li>
-<li><b>ICQ:</b> UIN #207733823</li>
-<li><b>AOL Instant Messager (AIM):</b> ShlomiFish</li>
-<li><b>Yahoo:</b> shlomif2</li>
-<li><b>MSN Messenger:</b> shlomif@iglu.org.il</li>
-</ul>
-<br />
-<b>IRC:</b> <tt>rindolf</tt> on <a href="http://www.freenode.org/">FreeNode</a>,
+<dl class="contact">
+<dt>Homepage:</dt>
+<dd><url_body_link href="http://www.shlomifish.org/" /></dd>
+<dt>E-mail:</dt> 
+<dd><email:link "shlomif@iglu.org.il" /></dd>
+<dt>Instant Messaging:</dt>
+<dd>
+<dl>
+<dt>Jabber</dt><dd>ShlomiFish@jabber.org</dd>
+<dt>ICQ</dt><dd>UIN #207733823</dd>
+<dt>AOL Instant Messager (AIM):</dt><dd>ShlomiFish</dd>
+<dt>Yahoo:</dt><dd>shlomif2</dd>
+<dt>MSN Messenger:</dt><dd>shlomif@iglu.org.il</dd>
+</dl>
+</dd>
+<dt>IRC:</dt>
+<dd><tt>rindolf</tt> on <a href="http://www.freenode.org/">FreeNode</a>,
 <a href="http://www.efnet.org/">EF-Net</a>, 
 <a href="http://www.oftc.net/">OFTC</a> and 
-<a href="http://www.xach.com/gimpnet/">GIMP-Net</a>.<br />
-<b>Snail Mail:</b><br />
+<a href="http://www.xach.com/gimpnet/">GIMP-Net</a>.
+</dd>
+<dt>Snail Mail:</dt>
+<dd>
 Shlomi Fish<br />
 4 Hakim St.<br />
 Tel Aviv 69120<br />
 Israel<br />
-<b>Telephone</b>: +972-3-6424668<br />
-<b>Cell-Phone</b>: +972-54-6232377 (Orange)<br />
-<b>Freshmeat</b>: <a href="http://freshmeat.net/~shlomif/">http://freshmeat.net/~shlomif/</a><br />
-<b>CPAN</b>: <a href="http://search.cpan.org/~shlomif/">http://search.cpan.org/~shlomif/</a><br />
-<b>Advogato</b>: <a href="http://www.advogato.org/person/shlomif/">http://www.advogato.org/person/shlomif</a><br />
-<b>Dmoz</b> (Open Directory Project): <a href="http://dmoz.org/profiles/shlomif.html">http://dmoz.org/profiles/shlomif.html</a><br />
-</p>
-
+</dd>
+<dt>Telephone</dt>
+<dd>+972-3-6424668</dd>
+<dt>Cell-Phone</dt>
+<dd>+972-54-6232377 (Orange)</dd>
+<dt>Freshmeat</dt>
+<dd><url_body_link href="http://freshmeat.net/~shlomif/" /></dd>
+<dt>CPAN</dt>
+<dd><url_body_link href="http://search.cpan.org/~shlomif/" /></dd>
+<dt>Advogato</dt>
+<dd><url_body_link href="http://www.advogato.org/person/shlomif/" /></dd>
+<dt>Dmoz (Open Directory Project)</dt> 
+<dd><url_body_link href="http://dmoz.org/profiles/shlomif.html" /></dd>
+</dl>
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.