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 | |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 11 | <meta charset="utf-8" /> |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 12 | <meta name="viewport" content="width=device-width; initial-scale=1.0"> |
Giulio Fidente | a329665 | 2013-03-28 11:30:46 +0100 | [diff] [blame] | 13 | |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 14 | {% if FEED_ALL_ATOM %} |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 15 | <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] | 16 | {% endif %} |
| 17 | {% if FEED_ALL_RSS %} |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 18 | <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] | 19 | {% endif %} |
Giulio Fidente | a329665 | 2013-03-28 11:30:46 +0100 | [diff] [blame] | 20 | |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 21 | {% block head %} |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 22 | {% endblock %} |
Giulio Fidente | a329665 | 2013-03-28 11:30:46 +0100 | [diff] [blame] | 23 | |
| 24 | <title>{% block title %}{{ SITENAME }}{% endblock %}</title> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 25 | </head> |
| 26 | |
| 27 | <body> |
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 28 | <aside> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 29 | <div id="user_meta"> |
Giulio Fidente | 5c9ed78 | 2013-03-27 11:20:31 +0100 | [diff] [blame] | 30 | <a href="{{ SITEURL }}"> |
| 31 | {% if USER_LOGO_URL %} |
| 32 | <img src="{{ USER_LOGO_URL }}" alt="logo"> |
| 33 | {% else %} |
| 34 | <img src="{{ SITEURL }}/theme/images/logo.png" alt="logo"> |
| 35 | {% endif %} |
| 36 | </a> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 37 | <h1><a href="{{ SITEURL }}">{{ AUTHOR }}</a></h1> |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame^] | 38 | <p>{{ TAGLINE }}</p> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 39 | <ul> |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 40 | {% for title, link in MENUITEMS %} |
| 41 | <li><a href="{{ link }}">{{ title }}</a></li> |
| 42 | {% endfor %} |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 43 | {% if DISPLAY_PAGES_ON_MENU %} |
| 44 | {% for p in pages %} |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 45 | <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] | 46 | {% endfor %} |
| 47 | {% endif %} |
| 48 | {% for name, link in LINKS %} |
Giulio Fidente | bfa0458 | 2013-03-23 01:40:06 +0100 | [diff] [blame] | 49 | <li><a href="{{ link }}" target="_blank">{{ name }}</a></li> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 50 | {% endfor %} |
| 51 | {% for name, link in SOCIAL %} |
Giulio Fidente | bfa0458 | 2013-03-23 01:40:06 +0100 | [diff] [blame] | 52 | <li><a href="{{ link }}" target="_blank">{{ name }}</a></li> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 53 | {% endfor %} |
| 54 | </ul> |
| 55 | </div> |
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 56 | </aside> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 57 | |
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 58 | <main> |
Giulio Fidente | a329665 | 2013-03-28 11:30:46 +0100 | [diff] [blame] | 59 | <header> |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame^] | 60 | <p> |
Giulio Fidente | a329665 | 2013-03-28 11:30:46 +0100 | [diff] [blame] | 61 | {% block header %} |
| 62 | <a href="{{ SITEURL }}">Index</a> | <a href="{{ SITEURL }}/archives.html">Archives</a> | <a href="{{ SITEURL }}/categories.html">Categories</a> |
| 63 | {% endblock header %} |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame^] | 64 | </p> |
Giulio Fidente | a329665 | 2013-03-28 11:30:46 +0100 | [diff] [blame] | 65 | </header> |
| 66 | |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 67 | {% block content %} |
| 68 | {% endblock %} |
Giulio Fidente | a329665 | 2013-03-28 11:30:46 +0100 | [diff] [blame] | 69 | |
| 70 | <footer> |
| 71 | {% block footer %} |
| 72 | {% endblock %} |
| 73 | </footer> |
| 74 | |
Giulio Fidente | bc2f70a | 2013-03-27 15:41:07 +0100 | [diff] [blame] | 75 | <div id="ending_message"> |
| 76 | <hr /> |
Giulio Fidente | a329665 | 2013-03-28 11:30:46 +0100 | [diff] [blame] | 77 | <p>Made using <a href="http://getpelican.com" target="_blank">Pelican</a>, content from Giulio Fidente. Get the blog theme <a href="https://github.com/giulivo/pelican-svbhack" target="_blank">from github</a>.</p> |
Giulio Fidente | bc2f70a | 2013-03-27 15:41:07 +0100 | [diff] [blame] | 78 | </div> |
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 79 | </main> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 80 | |
| 81 | {% include "analytics.html" %} |
| 82 | </body> |
| 83 | </html> |