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 <!-- Search Engine Metatags -->
7 <meta name="author" content="{{ author.name }}" />
8 <meta name="google" content="notranslate" />
9 <!-- Google Web Fonts -->
10 <link href='http://fonts.googleapis.com/css?family=Droid+Sans&v1' rel='stylesheet' type='text/css'>
11 <!-- Blueprint CSS Framework -->
12 <link rel="stylesheet" href="{{ media_url('styles/blueprint/screen.css') }}" type="text/css" media="screen, projection" />
13 <link rel="stylesheet" href="{{ media_url('styles/blueprint/print.css') }}" type="text/css" media="print" />
15 <link rel="stylesheet" href="{{ media_url('styles/blueprint/ie.css') }}" type="text/css" media="screen, projection" />
18 <link rel="stylesheet" href="{{ media_url('styles/base.css') }}" type="text/css" media="screen" />
19 <link rel="shortcut icon" type="image/png" href="{{ media_url('images/glider.png') }}" />
20 <title>{{ author.name }}{% if resource.meta.title is defined %} - {{ resource.meta.title }}{% endif %}</title>
21 <!-- Google Analytics -->
22 <script type="text/javascript">
24 var _gaq = _gaq || [];
25 _gaq.push(['_setAccount', 'UA-25510147-1']);
26 _gaq.push(['_trackPageview']);
29 var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
30 ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
31 var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
37 <div class="container">
38 <div class="span-21 quiet">
39 {% for item in resource.meta.menu %}
40 <a href="{{ item.url }}" class="large menu">{{ item.name }}</a>{% if not loop.last %} | {% endif %}
43 <div class="prepend-2 span-1 last">
44 {% if resource.translations is defined %}
45 {% for translation in resource.translations %}
46 <a href="{{ translation.full_url }}" class="large"><img src="{{ media_url('images/flags/' + translation.meta.language + '.png') }}"
47 alt="{{ languages[translation.meta.language] }}" /></a>
53 {% filter markdown -%}
54 {% block content %}{% endblock %}
58 <div class="span-24 quiet footer">
59 {% filter markdown -%}{{ resource.meta.footer }}{%- endfilter %}