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
139
140
141
142
143
144 | {% load flatblock_tags cache navbar generic_content blog comparison disqus_tags %}
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
{% spaceless %}
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>{% block title %}{{ SITE_NAME }}{% endblock %}</title>
<meta name="keywords" content="{% flatblock 'keywords' 3000 using 'flatblocks/bare.html' %}">
<meta name="description" content="{% flatblock 'description' 3000 using 'flatblocks/bare.html' %}">
<meta name="author" content="Justin Quick" />
<meta name="copyright" content="2009 Justin Quick" />
<link rel="alternate" type="application/rss+xml" title="RSS 2.0 @ Feedburner" href="http://feeds.feedburner.com/SerotoninStorm" />
<link rel="shortcut icon" href="{{ STATIC_URL }}img/favicon.ico"/>
<link rel="stylesheet" href="{{ STATIC_URL }}css/base.css" type="text/css" media="all" charset="utf-8">
<link href="{{ STATIC_URL }}css/styles.css" rel="stylesheet" type="text/css" />
<link href="{{ STATIC_URL }}css/native.css" rel="stylesheet" type="text/css" />
<link rel="shortcut icon" href="{{ STATIC_URL }}img/favicon.ico" type="image/x-icon"/>
<script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.3.2/jquery.js"></script>
<script type="text/javascript" src="{{ STATIC_URL }}js/jquery.cycle.all.min.js"></script>
<script type="text/javascript" src="{{ STATIC_URL }}js/init.js"></script>
<style type="text/css">.comment_reply { text-decoration: underline; cursor: hand; }.comment_title { font-size: 0.9em; font-weight: bold; margin-bottom: 2px; padding: 3px;}.comment { margin-left: 0.5em; margin-top: 0.5em; padding-left: 0.5em; border-left: solid 4px #dddddd; }.comment_collapsed .comment, .comment_collapsed .comment_content { display: none; }.comment_collapsed .comment_title { .comment_collapsed_below { display: none; }</style>
{% endspaceless %}
{% block extra_head %}{% endblock %}
{% disqus_dev %}
</head>
<body>
{% spaceless %}
<div id="HEADER"><h1 onclick="window.location='/'">SerotoninStorm</h1>
<ul>
<li><a><form action="/search/" method="GET"><input type="text" name="q" value="{{ search_term }}"><input type="submit" class="button" value="Search"></form></a></li>
<li><a href="/about/">About</a></li>
<li><a href="/blog/">Blog</a></li>
<li><a href="/code/">Code</a></li>
</ul>
<div class="Visual">
<div id="pics" style="display: none;">
{% for pic in PICS %}
<img src="{{ pic }}"/>
{% endfor %}
</div>
</div>
</div>
{% endspaceless %}
<div id="CONTENT">
{% block body %}
{% block content_title %}<h1 class="hide">{{ SITE_NAME }}</h1>{% endblock %}
<div id="TEXT">
{% block sidebar %}
{% ifequal request.path '/' %}{% else %}
<div id="right-rail" style="float: right; width: 20%;">
{% if_startswith request.path '/about/' negate %}
<h4>About</h4>
{% flatblock "about" 3600 "flatblocks/bare.html" %}
{% endif_startswith %}
{% spaceless %}
<h4>Subscribe</h4>
<ul>
<li><a href="http://twitter.com/justquick" title="Follow me on Twitter">Twitter</a></li>
<li><a href="http://feeds.feedburner.com/SerotoninStorm" title="Subscribe via RSS">RSS</a></li>
<li><a href="http://feedburner.google.com/fb/a/mailverify?uri=SerotoninStorm&loc=en_US" title="Subscribe via Email">Email</a></li>
</ul>
{% if_startswith request.path '/about/' %}
<h4>Elsewhere</h4>
{% cache 3600 "rail-elsewhere" %}
<ul>
<li><a href="http://facebook.com/justquick">Facebook</a></li>
<li><a href="http://djangopeople.net/justquick/">DjangoPeople</a></li>
<li><a href="http://google.com/u/justquick">GoogleCode</a></li>
<li><a href="http://github.com/justquick">GitHub</a></li>
<li><a href="http://bitbucket.com/justquick">BitBucket</a></li>
<li><a href="http://twitter.com/justquick">Twitter</a></li>
<li><a href="http://www.meetup.com/members/9563789/">Meetup</a></li>
<li><a href="http://www.last.fm/user/justquick">Last.fm</a></li>
<li><a href="http://justquick.stumbleupon.com">StumbleUpon</a></li>
</ul>
{% endcache %}
{% endif_startswith %}
<h4>Categories</h4>
<ul>
{% cache 3600 "rail-categories" %}
{% get_blog_categories as category_list %}
{% for category in category_list %}
<li><a href="{% url basic.blog.views.category_detail category.slug %}" title="{{ category.title }}">{{ category.title }}</a></li>
{% endfor %}
{% endcache %}
</ul>
{% cache 3600 "rail-recent-posts" %}
{% get_latest_posts 10 as post_list %}
<h4>Recent Posts</h4>
<ul class="recent-posts">
{% for post in post_list %}
<li><a href="{{ post.get_absolute_url }}">{{ post.title }}</a></li>
{% endfor %}
{% endcache %}
</ul>
{% endspaceless %}
</div>
{% endifequal %}
{% endblock %}
<div style="width: 75%; padding-right: 50px;">
<div class="prop"></div>
{% block content %}
{% flatblock 'index' 3000 using 'flatblocks/bare.html' %}
{% cache 3600 "main-recent-posts" %}
{% get_latest_posts 10 as post_list %}
<h3>Recent Posts</h3>
<ul class="recent-posts">
{% for post in post_list %}
<li><a href="{{ post.get_absolute_url }}">{{ post.title }}</a><br>
<div style="margin-left: 20px; color: white;">{{ post.tease }}</div>
</li>
{% endfor %}
{% endcache %}
</ul>
<a href="/blog/">Article Archive</a>
{% endblock %}
<div class="clear"></div>
</div>
{% endblock %}
</div>
</div>
<div id="FOOTER">
{% flatblock "footer" 3600 "flatblocks/bare.html" %}
<p>© Justin Quick 2009</p>
</div>
<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("UA-2806385-9");
pageTracker._trackPageview();
} catch(err) {}</script>
</body>
</html>
|