blob: 55fc05110efe1c8e1fa85e83e414154456dfda0b (
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
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
|
<!doctype html>
<html lang="{{ DEFAULT_LANG }}" itemscope itemtype="http://schema.org/Person">
<head>
{% block head %}
<meta charset="utf-8">
<!-- Site Meta Data -->
<title>{% block title %} {{ SITENAME }} {% endblock %}</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="{{ AUTHOR_DESCRIPTION }}">
<meta name="author" content="{{ AUTHOR }}">
<link rel="shortcut icon" href="{{ FAVICON }}">
<!-- schema.org -->
<meta itemprop="name" content="{{ SITENAME }}">
<meta itemprop="image" content="{{ AVATAR}}">
<meta itemprop="description" content="{{ AUTHOR_DESCRIPTION }}">
<!-- Style Meta Data -->
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/milligram.css" type="text/css" />
<link rel="stylesheet" href="{{ SITEURL }}/theme/css/custom.css" type="text/css" />
<!-- Feed Meta Data -->
{% if FEED_ALL_ATOM %}
<link href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" type="application/atom+xml" rel="alternate" title="{{ SITENAME }} ATOM Feed" />
{% endif %}
{% if FEED_ALL_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="">
{% endblock %}
</head>
<body>
<div class="container">
<!-- Navbar -->
<div class="navbar">
<ul>
<div>
<li>
<a href="{{ SITEURL }}"><h3>{{ SITENAME }}</h3></a>
</li>
<li>
{% if SITEDESCRIPTION %}
<em><h6>{{ SITEDESCRIPTION }}</h6></em>
{% endif %}
</li>
</div>
</ul>
</div>
<!-- Sidebar -->
<sidebar>
<ul class="static-item">
{% for title, link in MENUITEMS %}
<li><a href="{{ link }}">{{ title }}</a></li>
{% endfor %}
{% if DISPLAY_PAGES_ON_MENU and PAGES %}
{% for p in pages %}
<li><a href="{{ SITEURL }}/{{ p.url }}">{{ p.title }}</a></li>
{% endfor %}
{% endif %}
</ul>
<ul>
{% if DISPLAY_CATEGORIES_ON_MENU and categories %}
<div class="cat-border">
<li style="color: #F2F1EF; background-color: #6C7A89;">Categories</li>
{% for cat, null in categories %}
<li{% if cat == category %}{% endif %}><a href="{{ SITEURL }}/{{ cat.url }}">{{ cat }}</a></li>
{% endfor %}
</div>
{% endif %}
</ul>
{% if LINKS %}
<h2><br/>BLOGROLLS</h2>
<ul>
{% for name, link in LINKS %}
<li><a href="{{ link }}">{{ name }}</a></li>
{% endfor %}
</ul>
{% endif %}
<p>
{% if SOCIAL %}
{% for name, link in SOCIAL %}
<span>
<a href="{{ link }}" target="_blank">
<img class="social-icons-m" src="{{ SITEURL }}/theme/images/icons/{{ name|lower }}.png">
</a>
</span>
{% endfor %}
{% endif %}
</p>
<p>
{% if FEED_ALL_ATOM %}
<a href="{{ SITEURL }}/{{ FEED_ALL_ATOM }}" rel="alternate">
<img class="social-icons-m" src="{{ SITEURL }}/theme/images/icons/rss.png"></a>
{% endif %}
</p>
<p>
{% if FEED_ALL_RSS %}
<a href="{{ SITEURL }}/{{ FEED_ALL_RSS }}" rel="alternate">
<img class="social-icons-m" src="{{ SITEURL }}/theme/images/icons/rss.png"></a>
{% endif %}
</p>
</sidebar>
<maincontent>
{% block content %}
{% endblock %}
</maincontent>
<!-- Analytics -->
{% if GOOGLE_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 %}
</div>
</body>
</html>
|