Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html lang="{{ DEFAULT_LANG }}"> |
| 3 | |
| 4 | <head> |
| 5 | <link rel="stylesheet/less" type="text/css" href="{{ SITEURL }}/theme/css/style.less"> |
| 6 | <script src="{{ SITEURL }}/theme/js/less-1.3.3.min.js" type="text/javascript"></script> |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 7 | |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 8 | <link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/pygments.css"> |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 9 | <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=PT+Sans|PT+Serif|PT+Mono"> |
| 10 | |
| 11 | <title>{% block title %}{{ SITENAME }}{% endblock %}</title> |
| 12 | <meta charset="utf-8" /> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 13 | {% if FEED_ALL_ATOM %} |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 14 | <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} Full Atom Feed" /> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 15 | {% endif %} |
| 16 | {% if FEED_ALL_RSS %} |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 17 | <link href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}" type="application/rss+xml" rel="alternate" title="{{ SITENAME }} Full RSS Feed" /> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 18 | {% endif %} |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 19 | {% block head %} |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 20 | {% endblock %} |
| 21 | </head> |
| 22 | |
| 23 | <body> |
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame^] | 24 | <aside> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 25 | <div id="user_meta"> |
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame^] | 26 | <a href="{{ SITEURL }}"><img src="{{ SITEURL }}/theme/images/gravatar_to192.png" alt="logo"></a> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 27 | <h1><a href="{{ SITEURL }}">{{ AUTHOR }}</a></h1> |
| 28 | <h2>{{ TAGLINE }}</h2> |
| 29 | <ul> |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 30 | {% for title, link in MENUITEMS %} |
| 31 | <li><a href="{{ link }}">{{ title }}</a></li> |
| 32 | {% endfor %} |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 33 | {% if DISPLAY_PAGES_ON_MENU %} |
| 34 | {% for p in pages %} |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 35 | <li{% if p == page %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 36 | {% endfor %} |
| 37 | {% endif %} |
| 38 | {% for name, link in LINKS %} |
Giulio Fidente | bfa0458 | 2013-03-23 01:40:06 +0100 | [diff] [blame] | 39 | <li><a href="{{ link }}" target="_blank">{{ name }}</a></li> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 40 | {% endfor %} |
| 41 | {% for name, link in SOCIAL %} |
Giulio Fidente | bfa0458 | 2013-03-23 01:40:06 +0100 | [diff] [blame] | 42 | <li><a href="{{ link }}" target="_blank">{{ name }}</a></li> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 43 | {% endfor %} |
| 44 | </ul> |
| 45 | </div> |
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame^] | 46 | </aside> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 47 | |
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame^] | 48 | <main> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 49 | {% block content %} |
| 50 | {% endblock %} |
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame^] | 51 | </main> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 52 | |
| 53 | {% include "analytics.html" %} |
| 54 | </body> |
| 55 | </html> |