Find file
Fetching contributors…
Cannot retrieve contributors at this time
109 lines (105 sloc) 4.73 KB
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "">
<html xmlns=""
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<meta name="verify-v1" content="PewSSzFH6scpEjdLjwzFShlRf6p1U0TavfOMx2+aXYM=" />
<meta property="fb:app_id" content="{{ handler.settings.get("fb_app_id", "") }}"/>
<meta property="fb:admins" content="{{ handler.settings.get("fb_admins", "") }}"/>
<title>{% block title %}{{ escape(handler.settings["blog_title"]) }}{% end %}</title>
<link rel="stylesheet" href="/static/css/base.css" type="text/css"/>
<link rel="shortcut icon" href="/static/images/favicon.png" type="image/png"/>
<link rel="alternate" href="/?format=atom" type="application/atom+xml" title="{{ escape(handler.settings["blog_title"]) }}"/>
{% block head %}{% end %}
{% if not handler.settings.get("debug") %}
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-1337900-1']);
(function() {
var ga = document.createElement('script');
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '';
ga.setAttribute('async', 'true');
{% end %}
{% if handler.settings.get("fb_app_id") %}
<div id="fb-root"></div>
<script>(function(d, s, id) {
var js, fjs = d.getElementsByTagName(s)[0];
if (d.getElementById(id)) return;
js = d.createElement(s); = id;
js.src = "//{{ handler.settings.get("fb_app_id", "") }}";
fjs.parentNode.insertBefore(js, fjs);
}(document, 'script', 'facebook-jssdk'));</script>
{% end %}
<table id="body">
<td id="content">
{% block content %}{% end %}
<td id="sidebar">
<div class="box">
<h3>{{ _("Links") }}</h3>
<li><a href="/about">{{ _("About") }}</a></li>
<li><a href="/archive">{{ _("Archive") }}</a></li>
<li><a href="/">{{ _("Home") }}</a></li>
<div class="box elsewhere">
<h3>{{ _("Elsewhere") }}</h3>
<li><a rel="me" class="email" href="">{{ _("Email") }}</a></li>
<li><a rel="me" class="facebook" href="">{{ _("Facebook") }}</a></li>
<li><a rel="me" class="flickr" href="">Flickr</a></li>
<li><a rel="me" class="friendfeed" href="">{{ _("FriendFeed") }}</a></li>
<li><a rel="me" class="twitter" href="">{{ _("Twitter") }}</a></li>
{{ modules.RecentEntries() }}
<div class="box small">
The opinions expressed on this site are mine and do not
necessarily represent those of my
<a href="">employer</a>. You won't find any
confidential company information here, and while you're welcome
<a href="">get in touch with me</a>,
I'm afraid I can't put you in contact with my employer.
<div class="box small">
&copy;{{ datetime.datetime.utcnow().year }} {{ escape(handler.settings["blog_author"]) }}
<div class="box small">
<a href="">Creative Commons license</a>
<a href="">Source</a>
<div class="box small">
{% if current_user %}
{% if current_user.administrator %}
<a href="/compose">{{ _("Compose") }}</a>
{% end %}
<a href="{{ users.create_logout_url(request.uri) }}">{{ _("Sign out") }}</a>
{% else %}
<a href="{{ users.create_login_url(request.uri) }}">{{ _("Sign in") }}</a>
{% end %}
{% block bottom %}{% end %}