blob: 5483e933f533baee0c0383543d9b5fce835a6370 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
|
<!doctype html>
<html lang="{{ DEFAULT_LANG }}">
<head>
{% block head %}
<meta charset="utf-8">
<!-- Site Meta Data -->
<title>{% block title %}{{ SITENAME }}{% endblock %}</title>
<meta name="description" content="">
<meta name="author" content="{{ AUTHOR }}">
<!-- Style Meta Data -->
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/notebook.css" type="text/css" />
<link rel="shortcut icon" href="{{ SITEURL }}/{{ AVATAR}}">
<!-- Feed Meta Data -->
<link href="{{ SITEURL }}/{{ FEED }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" />
{% if FEED_RSS %}
<link href="{{ SITEURL }}/{{ FEED_RSS }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} RSS Feed" />
{% endif %}
<!-- Twitter Feed -->
<meta name="twitter:card" content="summary">
<meta name="twitter:site" content="{{ TWITTER_USERNAME }}">
<meta name="twitter:image" content="{{ SITEURL }}/{{ AVATAR }}">
{% endblock %}
</head>
<body>
<!-- Sidebar -->
<aside>
<p><a href="{{ SITEURL }}"><img id="avatar" src="{{ SITEURL }}/{{ AVATAR }}"></a></p>
<h1>{{ SITENAME }}</h1>
<p>{{ SIDEBAR_DIGEST }}</p>
<hr>
<h2>Social</h2>
<ul class="social">
{% for name, link in SOCIAL %}
<li style="list-style-image : url({{ SITEURL }}/theme/images/icons/{{ name|lower }}.png);"><a href="{{ link }}">{{ name }}</a></li>
{% endfor %}
<li style="list-style-image : url({{ SITEURL }}/theme/images/icons/rss.png);"><a href="{{ SITEURL }}/{{ FEED_ATOM }}" rel="alternate"><i class="icon-bookmark icon-large"></i>Atom feed</a></li>
{% if FEED_RSS %}
<li style="list-style-image : url({{ SITEURL }}/theme/images/icons/rss.png);"><a href="{{ SITEURL }}/{{ FEED_RSS }}" rel="alternate">RSS feed</a></li>
{% endif %}
</ul>
{% for title, link in MENUITEMS %}
<li><a href="{{ link }}">{{ title }}</a></li>
{% endfor %}
{% if DISPLAY_PAGES_ON_MENU and PAGES %}
<h2>Pages</h2>
<ul class="navbar">
{% for p in PAGES %}
<li><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
{% endfor %}
</ul>
{% endif %}
{% if categories %}
<h2>Categories</h2>
<ul class="navbar">
{% for cat, null in categories %}
<li{% if cat == category %} class="active"{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
{% endfor %}
</ul>
{% endif %}
</aside>
<!-- Content -->
<article>
{% block content %}
{% endblock %}
</article>
<!-- Footer -->
<footer>
<address id="about" class="vcard body">
{% if FIREFOX_BANNERS %}
<div align="center">
{% for id, img, alt in FIREFOX_BANNERS %}
<a href="http://affiliates.mozilla.org/link/banner/{{ id }}" target="_blank"><img src="{{ img }}" alt="{{ alt }}"/></a>
{% endfor %}
</div>
{% endif %}
Blog powered by <a href="http://getpelican.com/">Pelican</a>,
which takes great advantage of <a href="http://python.org">Python</a>.
Theme <a href="https://github.com/quack1/notebook/">Notebook</a> by <a href="https://twitter.com/_Quack1">@Quack1</a>.
</address>
</footer>
{% if GOOGLE_ANALYTICS %}
<!-- Analytics -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', '{{ GOOGLE_ANALYTICS }}']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
{% endif %}
</body>
</html>
|