Commits

John Mulligan  committed e254819

add some starter templates

  • Participants
  • Parent commits b482b52

Comments (0)

Files changed (4)

File muyhomepage2/app/configuration.py

         return '.'
 
     def destination(self):
-        return '/tmp/garbage'
+        return '/home/john/www/cruft/'
 
     def page_cache(self):
         return '/tmp/garbage/.pcache'

File skins/default/base.html

+<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
+<html xmlns="http://www.w3.org/1999/xhtml">
+<head>
+    {% block head %}
+    <title>Birch Street Computing - {% block title %}{% endblock %}</title>
+    {% endblock %}
+    {% block css %}
+    <link rel="stylesheet" type="text/css" 
+      href="http://asynchrono.us/static/structure.css" />
+    <link rel="stylesheet" type="text/css" 
+      href="http://asynchrono.us/static/theme.css" />
+    <link rel="stylesheet" type="text/css" 
+      href="http://asynchrono.us/static/tweaks.css" />
+    {% endblock %}
+    {% block js %}
+    {% endblock %}
+
+</head>
+<body>
+  <div id="page-intro">
+    <h1><a href="http://asynchrono.us">
+      Birch Street Computing - {% block vistitle %}{% endblock %}
+    </a></h1>
+  </div>
+
+  <div id="page-panel">
+  <div id="eboxes">
+    <!-- begin eboxes -->
+        
+    <div class="ebox" id="ebox-hotspots">
+      <h4>hotspots</h4>
+      <div class="ebox-content">
+      <ul class="altlist">
+        <li class="even"><a href="/">home</a></li>
+        <li class="odd"><a href="/rss.xml">rss feed</a></li>
+        <li class="even"><a href="/atom.xml">atom feed</a> </li>
+        <li class="odd"><a href="/best-of-comments.html">best of comments</a></li>
+        <li class="even"><a href="/webpage-status.html">site status</a></li>
+        <li class="odd"><a href="/static/booklist.html">my book list</a></li>
+        <li class="even"><a href="/static/jm-resume-2009.0.pdf">my resume</a></li>
+      </ul>
+      </div>
+    </div>
+
+    <div class="ebox" id="ebox-about me">
+      <h4>about me</h4>
+      <div class="ebox-content">
+        <p>John M is a Linux fan in Lowell, MA.</p>
+        <p>I work at at a local company writing software. I fool around
+           with Free and Open Source software for fun.</p>
+        <p>I am an avid
+           <a href="http://last.fm/user/phlogistonjohn">Last.fm user</a>.
+        </p>
+      </div>
+    </div>
+
+    <div class="ebox" id="ebox-last.fm">
+      <h4>last.fm</h4>
+        <div class="ebox-content"></div>
+    </div>
+ 
+    <div class="ebox" id="ebox-promo">
+      <h4>promo</h4>
+      <div class="ebox-content">
+        <ul class="altlist">
+          <li>
+            <a href="http://python.org"><img src="./static/use-python-badge.png" alt="Python Powered"></img></a>
+          </li>
+          <li>
+            <a href="http://kernel.org">
+              <img src="./static/gnu-linux-badge.png" alt="GNU/Linux"></img>
+            </a>
+          </li>
+          <li>
+            <a href="http://kde.org">
+              <img src="./static/kde-user-badge.png" alt="KDE"></img>
+            </a>
+          </li>
+          <li>
+            <a href="http://amarok.kde.org">
+              <img src="./static/amarok-badge.png" alt="Amarok - Best Damn Audio Player"></img>
+            </a>
+          </li>
+          <li>
+            <a href="http://konqueror.kde.org">
+              <img src="./static/konq.png" alt="Use Konqueror - I do"></img>
+            </a>
+          </li>
+          <li>
+            <a href="http://mozilla.com">
+              <img src="http://www.mozilla.org/products/firefox/buttons/takebacktheweb_small.png" alt="Get Firefox"></img>
+            </a>
+          </li>
+          <li>
+            <a href="http://last.fm">
+              <img src="./static/last-fm-badge.gif" alt="Last.fm - Social Music Revolution"></img>
+            </a>
+          </li>
+        </ul>
+      </div>
+    </div>
+
+    <!-- end eboxes -->
+  </div>
+  </div>
+
+  <!-- begin main content section -->
+  <div id="page-main">{% block main %}{% endblock %}
+  </div>
+  <!-- end main content section -->
+
+  <!-- page footer stuff -->
+  <div id="page-outro">
+    {% block footer %}
+    <p id="copyright">
+      &copy; Copyright 2009 John Mulligan
+    </p>
+    <p id="cc-license">
+      Every page on this site is available under the
+      <a href="http://creativecommons.org/licenses/by-sa/2.5/">CC-BY-SA</a> 
+      license unless otherwise noted.
+    </p> 
+    {% endblock %}
+  </div>
+
+</body>
+</html>

File skins/default/blogent.html

+
+<!-- THIS IS A PLACEHOLDER -->
+

File skins/default/page.html

+{% extends "base.html" %}
+
+{% block main %}
+<div id="page-content">
+  <h2>{{current.page.title}}</h2>
+  <div></div>
+  <div class="written-text">
+    {{current.content()}}
+  </div>
+  <div></div>
+
+  <ul class="tidbits">
+    <li>
+        <a href="mailto:phglogistonjohn+web@gmail.com?={{current.page.title}}">
+            Comment on {{current.page.title}}
+        </a>
+    </li>
+    <li>
+        <!-- repeat tidbits -->
+    </li>
+  </ul>
+</div>
+{% endblock %}