layout/skeleton/_base.html @ c2388407ddf9
Turn on Flattr for the Vim entry.
author |
Steve Losh <steve@dwaiter.com> |
date |
Mon, 20 Sep 2010 18:16:04 -0400 |
parents |
bfe6a9d28ee1 |
children |
2bf65e3c3188 |
{% extends "skeleton/_root.html" %}
{% block all %}
<!DOCTYPE html>
<html>
<head>
<link href='http://fonts.googleapis.com/css?family=OFL+Sorts+Mill+Goudy+TT:regular,italic' rel='stylesheet' type='text/css'>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<title>{% block title %}{% block extra_title %}{% endblock %}{{ page.title|safe }} / {{ site.name }}{% endblock %}</title>
{% block feeds %}
<link href="http://feeds2.feedburner.com/stevelosh"
rel="alternate" title="{{ site.name }}"
type="application/atom+xml" />
{% endblock %}
{% block css %}
<link rel="stylesheet" href="/media/css/aal.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="/media/css/sjl.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="/media/css/colorbox.css" type="text/css" media="screen" charset="utf-8" />
<link rel="stylesheet" href="/media/css/print.css" type="text/css" media="print" charset="utf-8" />
{% block extra_css %}{% endblock %}
{% endblock %}
{% block js %}
<script src="/media/js/jquery.js" type="text/javascript"></script>
<script src="/media/js/jquery.timeago.js" type="text/javascript"></script>
<script src="/media/js/jquery.colorbox.js" type="text/javascript"></script>
<script src="/media/js/sjl.js" type="text/javascript"></script>
<script src="/media/js/print.js" type="text/javascript"></script>
<script type="text/javascript">
$(function() {
$("a.rhythm").toggle(function() {
$("body").addClass("rhythm");
}, function() {
$("body").removeClass("rhythm");
});
});
</script>
<script type="text/javascript">
/* <![CDATA[ */
(function() {
var s = document.createElement('script'), t = document.getElementsByTagName('script')[0];
s.type = 'text/javascript';
s.async = true;
s.src = 'http://api.flattr.com/js/0.5.0/load.js?mode=auto';
t.parentNode.insertBefore(s, t);
})();
/* ]]> */
</script>
{% block extra_js %}{% endblock %}
{% endblock %}
<link rel="openid.server" href="http://www.myopenid.com/server" />
<link rel="openid.delegate" href="http://stevelosh.myopenid.com/" />
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-15328874-2']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<div class="wrap">
<div class="top group">
<header>
<a href="/">steve losh</a>
</header>
<nav>
<a href="/blog/">Blog</a>
<span class="sep">-</span>
<a href="/projects">Projects</a>
<span class="sep">-</span>
<a href="/about/">About</a>
<span class="sep">-</span>
<a href="http://feeds2.feedburner.com/stevelosh">Feed</a>
</nav>
</div>
<div class="hr"> </div>
<div class="content">
{% with page.node.ancestors|last as parent_node %}
{% with parent_node.url as parent_url %}
{% block content %}{% endblock %}
{% endwith %}
{% endwith %}
</div>
<div class="hrb"> </div>
<footer>
I'm also on
<a href="http://bitbucket.org/sjl/">BitBucket</a>,
<a href="http://github.com/sjl/">GitHub</a>,
<a href="http://twitter.com/stevelosh/">Twitter</a>,
<a href="http://forrst.com/people/stevelosh/">Forrst</a>
and
<a href="http://flickr.com/photos/sjl7678/">Flickr</a>.
I've got <a href="#" class="rhythm">rhythm</a>.
</footer>
</div>
</body>
</html>
{% endblock %}