Source

haskellblog / src / templates / pagestart.st

Diff from to

src/templates/pagestart.st

     <div id="container">
       <div id="toplinks">
         <div id="toplinksinner">
+          <p>Site links</p>
+          <ul>
+            <li><a href="/">Home</a></li>
+            <li><a href="/softprojects.html">Software</a></li>
+            <li><a href="/personal.html">About me</a></li>
+          </ul>
           <p>Blog links</p>
           <ul>
             <li><a href="/blog/">Posts</a></li>
             <li><a href="/blog/categories/">Categories</a></li>
             <li><a href="/blog/comments/">Recent comments</a></li>
           </ul>
-          <p>Site links</p>
+          $if(post)$
+          <p>Post links</p>
           <ul>
-            <li><a href="/">Home</a></li>
-            <li><a href="/softprojects.html">Software</a></li>
-            <li><a href="/personal.html">About me</a></li>
+            <li><a href="#top">Top</a></li>
+            <li><a href="#comments">Comments</a></li>
+            $if(post.commentsOpen)$
+            <li><a href="#addcomment">Add comment</a></li>
+            $endif$
+            $if(hasRelated)$
+            <li><a href="#related">Related posts</a></li>
+            $endif$
+
           </ul>
+          $endif$
         </div>
       </div>
       <div id="maintitle">