forked from rctay/bloggart-theme-coolblue
-
Notifications
You must be signed in to change notification settings - Fork 0
/
base.html
88 lines (86 loc) · 3.87 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
76
77
78
79
80
81
82
83
84
85
86
87
88
<!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>
{% block style %}
<link rel="stylesheet" type="text/css" media="screen" href="{{config.url_prefix}}/static/{{config.theme}}/css/screen.css" />
{% endblock %}
{% if config.highlighting_style %}
<link rel="stylesheet" type="text/css" media="screen" href="{{config.url_prefix}}/static/{{config.theme}}/css/pygments_{{config.highlighting_style}}.css" />
{% endif %}
<link rel="alternate" type="application/atom+xml" href="{{config.url_prefix}}/feeds/atom.xml" />
<link rel="SHORTCUT ICON" href="{{config.url_prefix}}/static/{{config.theme}}/favicon.ico"/>
{% if config.rel_me %}
<link rel="me" href="{{config.rel_me}}" />
{% endif %}
{% block head %}{% endblock %}
</head>
<body>
<div id="header-wrap"><div id="header">
<a name="top"></a>
<h1 id="logo-text"><a href="{{config.url_prefix}}/" title="">{{config.blog_name}}</a></h1>
<p id="slogan">{{config.slogan}}</p>
<div id="nav">
<ul>
<li{% ifequal generator_class "HomeContentGenerator" %} id="current"{% endifequal %}><a href="{{config.url_prefix}}/">Home</a></li>
<li{% ifequal resource "publication" %} id="current"{% endifequal %}><a href="{{config.url_prefix}}/tag/publication">Publications</a></li>
<li{% ifequal generator_class "IndexContentGenerator" %} id="current"{% endifequal %}><a href="{{config.url_prefix}}/posts">All Posts</a></li>
<li{% ifequal post.title "About Me" %} id="current"{% endifequal %}><a href="{{config.url_prefix}}/2011/01/About-Me">About Me</a></li>
{% block menu %}{% endblock %}
</ul>
</div>
<form id="quick-search" action="{{config.url_prefix}}/search" method="get">
<fieldset class="search">
<label for="q">Search:</label>
<input type="hidden" name="cref" value="http://{{config.host}}{{config.url_prefix}}/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" />
<button class="btn" title="Search">Search</button>
</fieldset>
</form>
</div></div><!-- header-wrap -->
<div id="content-wrap" class="clear" ><div id="content">
<div id="main">
{% block body %}{% endblock %}
</div>
<div id="sidebar">
{% 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><!-- sidebar -->
</div></div><!-- content-wrap -->
<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="{{config.url_prefix}}/">Home</a> |
<a href="{{config.url_prefix}}/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><!-- footer-bottom -->
{% if config.analytics_id and not devel %}
<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>
<script type="text/javascript" src="https://apis.google.com/js/plusone.js"></script>
{% endif %}
</body>
</html>