31 lines
1.0 KiB
Plaintext
31 lines
1.0 KiB
Plaintext
|
<div id="sidebar">
|
||
|
<ul>
|
||
|
<li id="search">
|
||
|
<form id="searchform" method="get" action="/search">
|
||
|
<div>
|
||
|
<input type="text" name="keywords" id="s" size="15" />
|
||
|
<br />
|
||
|
<input name="submit" type="submit" value="Search" />
|
||
|
</div>
|
||
|
</form>
|
||
|
</li>
|
||
|
<li id="calendar">
|
||
|
<h2>Calendar</h2>
|
||
|
<div id="calendar_wrap">
|
||
|
<%include file="/calendar.mako"/>
|
||
|
</div>
|
||
|
</li>
|
||
|
% if len(c.categories) > 0:
|
||
|
<li>
|
||
|
<h2>Categories</h2>
|
||
|
<ul>
|
||
|
% for category in c.categories:
|
||
|
<li><a href="${h.url_for('/category/%s' % str(category.url))}" title="${category.name}">${category.name}</a> (${len(category.posts)}) </li>
|
||
|
% endfor
|
||
|
</ul>
|
||
|
</li>
|
||
|
% endif
|
||
|
</ul>
|
||
|
<div style="clear: both; height: 40px;"> </div>
|
||
|
</div>
|