]> sipb.mit.edu Git - ikiwiki.git/commitdiff
Use BASEURL-relative links.
authorAnders Kaseorg <andersk@mit.edu>
Wed, 11 Feb 2009 08:57:46 +0000 (03:57 -0500)
committerAnders Kaseorg <andersk@mit.edu>
Wed, 11 Feb 2009 08:57:46 +0000 (03:57 -0500)
templates/misc.tmpl
templates/page.tmpl

index e82f054feb8ab0804dc39b49a53ccebeb1b18c17..c920bdeac6af527cbab39ab39bf635a35a4d6d96 100644 (file)
        <body>
                <div id="content-block">
                         <div id="logo">
-                               <a href="http://sipb.mit.edu/"><img src="<TMPL_VAR BASEURL>images/grumpyfuzzball_half.png" alt="grumpy fuzzball" /></a>
-                               <a href="http://sipb.mit.edu/"><img src="<TMPL_VAR BASEURL>images/SIPBlogo.png" alt="MIT Student Information Processing Board" id="sipb-logo" /></a>
+                               <a href="<TMPL_VAR BASEURL>./"><img src="<TMPL_VAR BASEURL>images/grumpyfuzzball_half.png" alt="grumpy fuzzball" /></a>
+                               <a href="<TMPL_VAR BASEURL>./"><img src="<TMPL_VAR BASEURL>images/SIPBlogo.png" alt="MIT Student Information Processing Board" id="sipb-logo" /></a>
                                <div id="hidden-title"><h1>SIPB: MIT Student Information Processing Board</h1></div>
                         </div>
                         
                         <ul id="navigation">
                                <li class="first-navbox">
-                                       <a href="/projects/"><span>Projects</span></a>
+                                       <a href="<TMPL_VAR BASEURL>projects/"><span>Projects</span></a>
                                </li>
                                <li class="second-navbox">
-                                       <a href="/doc/"><span>Docs</span></a>
+                                       <a href="<TMPL_VAR BASEURL>doc/"><span>Docs</span></a>
                                </li>
                                <li class="third-navbox">
-                                       <a href="/office/"><span>Office</span></a>
+                                       <a href="<TMPL_VAR BASEURL>office/"><span>Office</span></a>
                                </li>
                                <li class="fourth-navbox">
-                                       <a href="/join/"><span>Join</span></a>
+                                       <a href="<TMPL_VAR BASEURL>join/"><span>Join</span></a>
                                </li>
                         </ul>
                         <!--<div id="events-block">
@@ -47,7 +47,7 @@
                                <br />
                                <div class="solid-item iap">
                                        <div class="extra-large">IAP 2009</div>
-                                       <a href="/iap/">view SIPB classes</a>
+                                       <a href="<TMPL_VAR BASEURL>iap/">view SIPB classes</a>
                                 </div>
                         </div>-->
                         <h1><TMPL_VAR TITLE></h1>
index 8defa1b32a9962f9c9cc8ebca893a5356064538a..78f317eca2b4740f7d0ae63af22f766c293df10b 100644 (file)
        <body>
                <div id="content-block">
                         <div id="logo">
-                               <a href="http://sipb.mit.edu/"><img src="<TMPL_VAR BASEURL>images/grumpyfuzzball_half.png" alt="grumpy fuzzball" /></a>
-                               <a href="http://sipb.mit.edu/"><img src="<TMPL_VAR BASEURL>images/SIPBlogo.png" alt="MIT Student Information Processing Board" id="sipb-logo" /></a>
+                               <a href="<TMPL_VAR BASEURL>./"><img src="<TMPL_VAR BASEURL>images/grumpyfuzzball_half.png" alt="grumpy fuzzball" /></a>
+                               <a href="<TMPL_VAR BASEURL>./"><img src="<TMPL_VAR BASEURL>images/SIPBlogo.png" alt="MIT Student Information Processing Board" id="sipb-logo" /></a>
                                <div id="hidden-title"><h1>SIPB: MIT Student Information Processing Board</h1></div>
                         </div>
                         
                         <ul id="navigation">
                                <li class="first-navbox">
-                                       <a href="/projects/"><span>Projects</span></a>
+                                       <a href="<TMPL_VAR BASEURL>projects/"><span>Projects</span></a>
                                </li>
                                <li class="second-navbox">
-                                       <a href="/doc/"><span>Docs</span></a>
+                                       <a href="<TMPL_VAR BASEURL>doc/"><span>Docs</span></a>
                                </li>
                                <li class="third-navbox">
-                                       <a href="/office/"><span>Office</span></a>
+                                       <a href="<TMPL_VAR BASEURL>office/"><span>Office</span></a>
                                </li>
                                <li class="fourth-navbox">
-                                       <a href="/join/"><span>Join</span></a>
+                                       <a href="<TMPL_VAR BASEURL>join/"><span>Join</span></a>
                                </li>
                         </ul>
                         <!--<div id="events-block">
@@ -49,7 +49,7 @@
                                <br />
                                <div class="solid-item iap">
                                        <div class="extra-large">IAP 2009</div>
-                                       <a href="/iap/">view SIPB classes</a>
+                                       <a href="<TMPL_VAR BASEURL>iap/">view SIPB classes</a>
                                 </div>
                         </div>-->
                         <h1><TMPL_VAR TITLE></h1>