Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html lang="{{ DEFAULT_LANG }}"> |
| 3 | |
| 4 | <head> |
Giulio Fidente | 0161f71 | 2013-04-13 02:55:10 +0200 | [diff] [blame] | 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> |
| 7 | <!-- <link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/style.css"> --> |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 8 | |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 9 | <link rel="stylesheet" type="text/css" href="{{ SITEURL }}/theme/css/pygments.css"> |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 10 | <link rel="stylesheet" type="text/css" href="http://fonts.googleapis.com/css?family=PT+Sans|PT+Serif|PT+Mono"> |
| 11 | |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 12 | <meta charset="utf-8" /> |
Giulio Fidente | e377608 | 2013-03-27 15:21:32 +0100 | [diff] [blame] | 13 | <meta name="viewport" content="width=device-width; initial-scale=1.0"> |
Giulio Fidente | 663537a | 2013-04-17 16:48:53 +0200 | [diff] [blame^] | 14 | <meta name="author" content="{{ AUTHOR }}"> |
| 15 | <meta name="description" content="Posts and writings by {{ AUTHOR }}"> |
Giulio Fidente | a329665 | 2013-03-28 11:30:46 +0100 | [diff] [blame] | 16 | |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 17 | {% if FEED_ALL_ATOM %} |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 18 | <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] | 19 | {% endif %} |
| 20 | {% if FEED_ALL_RSS %} |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 21 | <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] | 22 | {% endif %} |
Giulio Fidente | a329665 | 2013-03-28 11:30:46 +0100 | [diff] [blame] | 23 | |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 24 | {% block head %} |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 25 | {% endblock %} |
Giulio Fidente | a329665 | 2013-03-28 11:30:46 +0100 | [diff] [blame] | 26 | |
| 27 | <title>{% block title %}{{ SITENAME }}{% endblock %}</title> |
Giulio Fidente | fbc35fb | 2013-04-05 11:26:07 +0200 | [diff] [blame] | 28 | |
| 29 | {% include "analytics.html" %} |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 30 | </head> |
| 31 | |
| 32 | <body> |
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 33 | <aside> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 34 | <div id="user_meta"> |
Giulio Fidente | 5c9ed78 | 2013-03-27 11:20:31 +0100 | [diff] [blame] | 35 | <a href="{{ SITEURL }}"> |
| 36 | {% if USER_LOGO_URL %} |
| 37 | <img src="{{ USER_LOGO_URL }}" alt="logo"> |
| 38 | {% else %} |
| 39 | <img src="{{ SITEURL }}/theme/images/logo.png" alt="logo"> |
| 40 | {% endif %} |
| 41 | </a> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 42 | <h1><a href="{{ SITEURL }}">{{ AUTHOR }}</a></h1> |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 43 | <p>{{ TAGLINE }}</p> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 44 | <ul> |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 45 | {% for title, link in MENUITEMS %} |
| 46 | <li><a href="{{ link }}">{{ title }}</a></li> |
| 47 | {% endfor %} |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 48 | {% if DISPLAY_PAGES_ON_MENU %} |
| 49 | {% for p in pages %} |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 50 | <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] | 51 | {% endfor %} |
| 52 | {% endif %} |
| 53 | {% for name, link in LINKS %} |
Giulio Fidente | bfa0458 | 2013-03-23 01:40:06 +0100 | [diff] [blame] | 54 | <li><a href="{{ link }}" target="_blank">{{ name }}</a></li> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 55 | {% endfor %} |
| 56 | {% for name, link in SOCIAL %} |
Giulio Fidente | bfa0458 | 2013-03-23 01:40:06 +0100 | [diff] [blame] | 57 | <li><a href="{{ link }}" target="_blank">{{ name }}</a></li> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 58 | {% endfor %} |
| 59 | </ul> |
| 60 | </div> |
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 61 | </aside> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 62 | |
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 63 | <main> |
Giulio Fidente | a329665 | 2013-03-28 11:30:46 +0100 | [diff] [blame] | 64 | <header> |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 65 | <p> |
Giulio Fidente | a329665 | 2013-03-28 11:30:46 +0100 | [diff] [blame] | 66 | {% block header %} |
Giulio Fidente | 5d50318 | 2013-04-09 02:42:10 +0200 | [diff] [blame] | 67 | <a href="{{ SITEURL }}">Index</a> | <a href="{{ SITEURL }}/archives.html">Archives</a> |
Giulio Fidente | 824c595 | 2013-04-09 02:33:10 +0200 | [diff] [blame] | 68 | {% if FEED_ALL_ATOM %} |
| 69 | | <a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}">Atom Feed</a> |
| 70 | {% endif %} |
| 71 | {% if FEED_ALL_RSS %} |
| 72 | | <a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}">RSS Feed</a> |
| 73 | {% endif %} |
Giulio Fidente | a329665 | 2013-03-28 11:30:46 +0100 | [diff] [blame] | 74 | {% endblock header %} |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 75 | </p> |
Giulio Fidente | a329665 | 2013-03-28 11:30:46 +0100 | [diff] [blame] | 76 | </header> |
| 77 | |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 78 | {% block content %} |
| 79 | {% endblock %} |
Giulio Fidente | a329665 | 2013-03-28 11:30:46 +0100 | [diff] [blame] | 80 | |
| 81 | <footer> |
| 82 | {% block footer %} |
| 83 | {% endblock %} |
| 84 | </footer> |
| 85 | |
Giulio Fidente | bc2f70a | 2013-03-27 15:41:07 +0100 | [diff] [blame] | 86 | <div id="ending_message"> |
Giulio Fidente | 68c6541 | 2013-03-30 15:22:42 +0100 | [diff] [blame] | 87 | <p>© Giulio Fidente. Built using <a href="http://getpelican.com" target="_blank">Pelican</a>. Fork the blog theme <a href="https://github.com/giulivo/pelican-svbhack" target="_blank">on github</a>.</p> |
Giulio Fidente | bc2f70a | 2013-03-27 15:41:07 +0100 | [diff] [blame] | 88 | </div> |
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 89 | </main> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 90 | </body> |
| 91 | </html> |