]> sipb.mit.edu Git - ikiwiki.git/blobdiff - templates/page.tmpl
Add hook class at-top for featured block so we can restore whitespace.
[ikiwiki.git] / templates / page.tmpl
index 8defa1b32a9962f9c9cc8ebca893a5356064538a..19d2362c7dd10d174220ee2ea4d1113619a4fff1 100644 (file)
                <title><TMPL_VAR TITLE></title>
                
                <link rel="stylesheet" type="text/css" href="<TMPL_VAR BASEURL>style.css" />
-               <link rel="stylesheet" type="text/css" href="<TMPL_VAR_BASEURL>local.css" />
                <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.2.6/jquery.min.js" type="text/javascript"></script>
        </head>
        
        <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 +48,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>
@@ -63,7 +62,7 @@
                                <br style="clear:both;" />
                         </div>
                         </TMPL_IF>
-                        <div id="featured-block">
+                        <div id="featured-block" class="<TMPL_UNLESS NAME="PARENTLINKS">is-top</TMPL_UNLESS>">
                                <TMPL_VAR CONTENT>
                         </div>
                        <div id="prefooter"></div>