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"> |
pR0Ps | 12bcc7f | 2013-12-05 15:55:01 -0500 | [diff] [blame] | 6 | <script src="{{ SITEURL }}/theme/js/less-1.5.0.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"> |
pR0Ps | fee5225 | 2013-12-11 11:47:26 -0500 | [diff] [blame] | 10 | <link href="//netdna.bootstrapcdn.com/font-awesome/4.0.3/css/font-awesome.min.css" rel="stylesheet"> |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 11 | |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 12 | <meta charset="utf-8" /> |
pR0Ps | e9fca55 | 2013-12-05 15:58:47 -0500 | [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 | |
pR0Ps | 440764b | 2013-12-05 16:27:12 -0500 | [diff] [blame] | 17 | {% if GOOGLE_PLUS_URL %} |
| 18 | <link rel="author" href="{{ GOOGLE_PLUS_URL }}?rel=author"> |
| 19 | {% endif %} |
| 20 | |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 21 | {% if FEED_ALL_ATOM %} |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 22 | <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] | 23 | {% endif %} |
| 24 | {% if FEED_ALL_RSS %} |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 25 | <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] | 26 | {% endif %} |
Giulio Fidente | a329665 | 2013-03-28 11:30:46 +0100 | [diff] [blame] | 27 | |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 28 | {% block head %} |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 29 | {% endblock %} |
Giulio Fidente | a329665 | 2013-03-28 11:30:46 +0100 | [diff] [blame] | 30 | |
Giulio Fidente | da4d95b | 2013-04-29 15:59:35 +0200 | [diff] [blame] | 31 | <title> |
| 32 | {% block title %}{{ SITENAME }}{% endblock %} |
| 33 | </title> |
Giulio Fidente | fbc35fb | 2013-04-05 11:26:07 +0200 | [diff] [blame] | 34 | |
Giulio Fidente | 180d172 | 2013-06-14 09:29:38 +0200 | [diff] [blame] | 35 | {% include "modules/analytics.html" %} |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 36 | </head> |
| 37 | |
| 38 | <body> |
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 39 | <aside> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 40 | <div id="user_meta"> |
Giulio Fidente | 5c9ed78 | 2013-03-27 11:20:31 +0100 | [diff] [blame] | 41 | <a href="{{ SITEURL }}"> |
| 42 | {% if USER_LOGO_URL %} |
| 43 | <img src="{{ USER_LOGO_URL }}" alt="logo"> |
| 44 | {% else %} |
| 45 | <img src="{{ SITEURL }}/theme/images/logo.png" alt="logo"> |
| 46 | {% endif %} |
| 47 | </a> |
pR0Ps | 41bf7d3 | 2013-12-05 16:33:55 -0500 | [diff] [blame] | 48 | <h2><a href="{{ SITEURL }}" class="nohover">{{ AUTHOR }}</a></h2> |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 49 | <p>{{ TAGLINE }}</p> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 50 | <ul> |
Giulio Fidente | 8305e74 | 2013-03-22 23:17:45 +0100 | [diff] [blame] | 51 | {% for title, link in MENUITEMS %} |
| 52 | <li><a href="{{ link }}">{{ title }}</a></li> |
| 53 | {% endfor %} |
Giulio Fidente | da4d95b | 2013-04-29 15:59:35 +0200 | [diff] [blame] | 54 | {% if DISPLAY_PAGES_ON_MENU %}{% for p in pages %} |
| 55 | <li><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li> |
| 56 | {% endfor %}{% endif %} |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 57 | {% for name, link in LINKS %} |
Giulio Fidente | bfa0458 | 2013-03-23 01:40:06 +0100 | [diff] [blame] | 58 | <li><a href="{{ link }}" target="_blank">{{ name }}</a></li> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 59 | {% endfor %} |
| 60 | {% for name, link in SOCIAL %} |
pR0Ps | fee5225 | 2013-12-11 11:47:26 -0500 | [diff] [blame] | 61 | <li><a href="{{ link }}" target="_blank">{{ name }}<i class="fa fa-{{ name|lower|replace('email', 'envelope')|replace('\255', '-')|replace('+', 'plus')}} fa-lg"></i></a></li> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 62 | {% endfor %} |
| 63 | </ul> |
| 64 | </div> |
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 65 | </aside> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 66 | |
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 67 | <main> |
Giulio Fidente | a329665 | 2013-03-28 11:30:46 +0100 | [diff] [blame] | 68 | <header> |
Giulio Fidente | da4d95b | 2013-04-29 15:59:35 +0200 | [diff] [blame] | 69 | {% block header %} |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 70 | <p> |
pR0Ps | 90df6e9 | 2013-12-05 15:17:52 -0500 | [diff] [blame] | 71 | <a href="{{ SITEURL }}">Home</a> |
| 72 | |
| 73 | {% for p in pages %} |
| 74 | {% if p.url != "index.html" %} |
| 75 | | <a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a> |
| 76 | {% endif %} |
| 77 | {% endfor %} |
| 78 | |
| 79 | | <a href="{{ SITEURL }}/blog">Blog</a> |
| 80 | | <a href="{{ SITEURL }}/{{ ARCHIVES_URL }}">Article List</a> |
Giulio Fidente | da4d95b | 2013-04-29 15:59:35 +0200 | [diff] [blame] | 81 | {% if FEED_ALL_ATOM %} |
| 82 | | <a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}">Atom Feed</a> |
| 83 | {% endif %} |
| 84 | {% if FEED_ALL_RSS %} |
| 85 | | <a href="{{ FEED_DOMAIN }}/{{ FEED_ALL_RSS }}">RSS Feed</a> |
| 86 | {% endif %} |
Giulio Fidente | a6c5867 | 2013-03-30 14:55:03 +0100 | [diff] [blame] | 87 | </p> |
Giulio Fidente | da4d95b | 2013-04-29 15:59:35 +0200 | [diff] [blame] | 88 | {% endblock header %} |
Giulio Fidente | a329665 | 2013-03-28 11:30:46 +0100 | [diff] [blame] | 89 | </header> |
| 90 | |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 91 | {% block content %} |
| 92 | {% endblock %} |
Giulio Fidente | a329665 | 2013-03-28 11:30:46 +0100 | [diff] [blame] | 93 | |
| 94 | <footer> |
| 95 | {% block footer %} |
| 96 | {% endblock %} |
| 97 | </footer> |
| 98 | |
Giulio Fidente | bc2f70a | 2013-03-27 15:41:07 +0100 | [diff] [blame] | 99 | <div id="ending_message"> |
pR0Ps | 1c4126a | 2013-12-05 15:52:01 -0500 | [diff] [blame] | 100 | <p>© {{ AUTHOR }}. Built using <a href="http://getpelican.com" target="_blank">Pelican</a>. Theme by Carey Metcalfe, availible on <a href="https://github.com/pR0Ps/pelican-svbhack" target="_blank">GitHub</a>. Based on <a href="https://github.com/giulivo/pelican-svbhack" target="_blank">svbhack</a> by Giulio Fidente.</p> |
Giulio Fidente | bc2f70a | 2013-03-27 15:41:07 +0100 | [diff] [blame] | 101 | </div> |
Giulio Fidente | fc3b4d0 | 2013-03-26 15:23:42 +0100 | [diff] [blame] | 102 | </main> |
Giulio Fidente | 44ccac7 | 2013-03-21 18:51:03 +0100 | [diff] [blame] | 103 | </body> |
| 104 | </html> |