1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
2 "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="{% if resource.meta.language is defined %}{{ resource.meta.language }}{% else %}en{% endif %}" lang="{% if resource.meta.language is defined %}{{ resource.meta.language }}{% else %}en{% endif %}">
5 <meta http-equiv="content-type" content="text/html; charset=utf-8" />
6 <meta name="author" content="{{ author.name }}" />
7 <!-- Google Web Fonts -->
8 <link href='http://fonts.googleapis.com/css?family=Droid+Sans&v1' rel='stylesheet' type='text/css'>
9 <!-- Blueprint CSS Framework -->
10 <link rel="stylesheet" href="{{ media_url('styles/blueprint/screen.css') }}" type="text/css" media="screen, projection" />
11 <link rel="stylesheet" href="{{ media_url('styles/blueprint/print.css') }}" type="text/css" media="print" />
13 <link rel="stylesheet" href="{{ media_url('styles/blueprint/ie.css') }}" type="text/css" media="screen, projection" />
16 <link rel="stylesheet" href="{{ media_url('styles/base.css') }}" type="text/css" media="screen" />
17 <link rel="shortcut icon" type="image/png" href="{{ media_url('images/glider.png') }}" />
18 <title>{{ author.name }}{% if resource.meta.title is defined %} - {{ resource.meta.title }}{% endif %}</title>
19 <script type="text/javascript">
21 var _gaq = _gaq || [];
22 _gaq.push(['_setAccount', 'UA-25510147-1']);
23 _gaq.push(['_trackPageview']);
26 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
27 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
28 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
34 <div class="container">
35 <div class="span-21 quiet">
36 {% for item in resource.meta.menu %}
37 <a href="{{ item.url }}" class="large menu">{{ item.name }}</a>{% if not loop.last %} | {% endif %}
40 <div class="prepend-2 span-1 last">
41 {% if resource.translations is defined %}
42 {% for translation in resource.translations %}
43 <a href="{{ translation.full_url }}" class="large"><img src="{{ media_url('images/flags/' + translation.meta.language + '.png') }}"
44 alt="{{ languages[translation.meta.language] }}" /></a>
50 {% filter markdown -%}
51 {% block content %}{% endblock %}
56 <p class="quiet footer">{{ resource.meta.footer }}</p>