Commits

Thejesh GN committed ab8acef

fixed footers and listing

  • Participants
  • Parent commits 6c42f5c

Comments (0)

Files changed (4)

 
 # Building
 document-extensions: [.md, .mdown, .markdown, .wiki, .text]
-generate-listing: always
+generate-listing: sometimes
 listing-filename: "_list.html"
 use-default-static: false
 use-default-templates: true
     - headerid
     - toc
 
+
+
 # Serving
 server:
   bind: '127.0.0.1'

static/media/css/style.css

   body #header h1 { font-size: 25px; }
 
   body #footer {
-    border-top: 8px solid #f6f6f6;}
-
+    border-top: 8px solid #f6f6f6;
+    padding: 20px;
+  }
   body #credits{
     float:right;
-    text-align:right;    
   }
 
   body .clear {

templates/markdoc-default/base.html

       
       {% block body_footer %}
       <div id="footer">
-        <p>
-          <a href="http://thejeshgn.com/"><img height="30px" src="/media/img/thejeshgn-name.png"/></a>
-          <div id="credits">
-            <a href="/help/markup.html"><img  height="30px" src="/media/img/markdown.png"/></a>
-          </div>
-      </p>
+        <table border="0">
+          <tr>
+          <td><a href="http://thejeshgn.com/"><img height="30px" src="{{ make_relative("/media/img/thejeshgn-name.png") }}"/></a></td>
+          <td width="90%"></td>
+          <td><a href="{{ make_relative("/help/markup.html") }}"><img  height="30px" src="{{ make_relative("/media/img/markdown.png") }}"/></a></td>
+          </tr>
+        </table>
       </div>
+
       {% endblock body_footer %}
     
     {% endblock body %}

templates/markdoc-default/listing.html

       <tr>
         <td class="size">{{ page.humansize }}</td>
         <td class="name">
-          <a href="{{ make_relative(page.href)|e }}" title="{{ page.title|e }}">
-            {{ page.title|e }}
+          <a href="{{ make_relative(page.href)|e }}" title="{{ page.slug|e }}">
+            {{ page.slug|e }}
           </a>
         </td>
       </tr>