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 | 5c9ed78 | 2013-03-27 11:20:31 +0100 | [diff] [blame^] | 26 | <a href="{{ SITEURL }}"> |
| 27 | {% if USER_LOGO_URL %} |
| 28 | <img src="{{ USER_LOGO_URL }}" alt="logo"> |
| 29 | {% else %} |
| 30 | <img src="{{ SITEURL }}/theme/images/logo.png" alt="logo"> |
| 31 | {% endif %} |
| 32 | </a> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 33 | <h1><a href="{{ SITEURL }}">{{ AUTHOR }}</a></h1> |
| 34 | <h2>{{ TAGLINE }}</h2> |
| 35 | <ul> |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 36 | {% for title, link in MENUITEMS %} |
| 37 | <li><a href="{{ link }}">{{ title }}</a></li> |
| 38 | {% endfor %} |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 39 | {% if DISPLAY_PAGES_ON_MENU %} |
| 40 | {% for p in pages %} |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 41 | <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] | 42 | {% endfor %} |
| 43 | {% endif %} |
| 44 | {% for name, link in LINKS %} |
Giulio Fidente | bfa0458 | 2013-03-23 01:40:06 +0100 | [diff] [blame] | 45 | <li><a href="{{ link }}" target="_blank">{{ name }}</a></li> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 46 | {% endfor %} |
| 47 | {% for name, link in SOCIAL %} |
Giulio Fidente | bfa0458 | 2013-03-23 01:40:06 +0100 | [diff] [blame] | 48 | <li><a href="{{ link }}" target="_blank">{{ name }}</a></li> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 49 | {% endfor %} |
| 50 | </ul> |
| 51 | </div> |
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 52 | </aside> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 53 | |
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 54 | <main> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 55 | {% block content %} |
| 56 | {% endblock %} |
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 57 | </main> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 58 | |
| 59 | {% include "analytics.html" %} |
| 60 | </body> |
| 61 | </html> |