forked from Arachnid/bloggart
-
Notifications
You must be signed in to change notification settings - Fork 5
/
base.html
75 lines (75 loc) · 2.99 KB
/
base.html
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
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>{% block title %}Bloggart{% endblock %}</title>
<link rel="stylesheet" type="text/css" media="screen" href="/static/{{config.theme}}/css/screen.css" />
<link rel="alternate" type="application/atom+xml" href="/feeds/atom.xml" />
{% block head %}{% endblock %}
</head>
<body>
<div id="header-wrap"><div id="header" class="container_16">
<h1 id="logo-text"><a href="/" title="">{{config.blog_name}}</a></h1>
<p id="intro">{{config.slogan}}</p>
<div id="nav">
<ul>
<li{% ifequal generator_class "IndexContentGenerator" %} id="current"{% endifequal %}><a href="/">Home</a></li>
{% block menu %}{% endblock %}
</ul>
</div>
<div id="header-image"></div>
<form id="quick-search" action="/search" method="get">
<p>
<label for="q">Search:</label>
<input type="hidden" name="cref" value="http://{{config.host}}/cse.xml" />
<input type="hidden" name="cof" value="FORID:11" />
<input type="hidden" name="ie" value="UTF-8" />
<input class="tbox" type="text" name="q" size="31" />
<input class="btn" type="image" name="sa" value="Search" src="/static/{{config.theme}}/images/search.gif" alt="Search" />
</p>
</form>
<script type="text/javascript" src="http://www.google.com/coop/cse/brand?form=quick-search&lang=en"></script>
</div></div>
<div id="content-outer"><div id="content-wrapper" class="container_16">
<div id="main" class="grid_12">
{% block body %}{% endblock %}
</div>
<div id="left-columns" class="grid_4">
{% for sidebar in config.sidebars %}
<div class="sidemenu">
<h3>{{sidebar.0}}</h3>
<ul>
{% for entry in sidebar.1 %}
<li><a href="{{entry.1}}">{{entry.0}}</a></li>
{% endfor %}
</ul>
</div>
{% endfor %}
</div>
</div></div>
<div id="footer-wrapper" class="container_16">
<div id="footer-bottom">
<p class="bottom-left">
© {{config.author_name}}
Design by : <a href="http://www.styleshout.com/">styleshout</a>
</p>
<p class="bottom-right" >
<a href="/">Home</a> |
<a href="/feeds/atom.xml">Atom</a> |
<a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> |
<a href="http://validator.w3.org/check/referer">XHTML</a>
</p>
</div>
</div>
{% if config.analytics_id %}
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("{{config.analytics_id}}");
pageTracker._trackPageview();
} catch(err) {}</script>
{% endif %}
</body>
</html>