Commits

Anonymous committed 81d3857

1. Added the title= feature to the template.wml navbarlink meta-tag.

2. Added the contact link to the nav-menu.

3. Revamped the joke.

  • Participants
  • Parent commits 2a7dfc1

Comments (0)

Files changed (2)

t2/humour.html.wml

 
 <joke>
 <p>
-In Philosophy as much as in software engineering, you don't get credit for
+In Philosophy, as much as in software engineering, you don't get credit for
 originality. What matters is the final product, not who came up with
-the idea for each feature, first.
+the idea for each feature first.
 </p>
 </joke>
 
 <define-tag rellink whitespace="delete">
 <preserve url />
 <preserve host />
+<preserve title />
 <set-var %attributes />
 <set-var host=<if "<get-var host />" "<get-var host />" "t2" /> />
 <if <match "<get-var url />" "^http://" action="report" />
         "http://<get-var host />.technion.ac.il/~shlomif/<get-var url />"
     />
 />
+<restore title />
 <restore host />
 <restore url /></define-tag>
 
 <define-tag navbarlink>
 <preserve host />
+<preserve title />
 <set-var %attributes />
 <set-var l="<rellink url="%0" host=<get-var host /> />" />
+<set-var t="<if "<get-var title />" <attributes-quote title=<get-var title /> /> "" />" />
 <if
     ;;; Determine if %0 matches this document
     <ifeq "$(FILENAME)" "%0"
     "<b>%1</b>"
     ;;; If not - makes a hyperlink
     
-    "<a href="<get-var l />">%1</a>"
+    "<a href="<get-var l />" <get-var t /> >%1</a>"
 />
+<restore title />
 <restore host />
 </define-tag>
 
 <define-tag aboutme:navbar>
 <ul class="navbarnested">
 <li><navbarlink "personal.html" "Bio" /></li>
+<li><navbarlink "me/contact-me/" "Contact" title="How to Contact Me" /></li>
 <li><navbarlink "SFresume.html" "C.V." /></li>
 <li><navbarlink "SFresume_detailed.html" "Detailed C.V." /></li>
 </ul>