RLS[k]}"
       %if kind == k:
       class="selected"
       %endif
       >
       <span class="mini-icon ${SEARCH_KIND_ICON_NAMES[k]}"></span>
      ${SEARCH_KIND_NAMES[k]} <span class="counter">0</span>
    </a>
  </li>
  % endfor
</%def>

<%def name="filter_pane()">
    <div class="filter-pane">
      % for title, data in facets.iteritems():
      <h3>${title}s</h3>
      <ul class="filter-list small">
        % for item in data:
        <li>
          <a class="filter-item ${'selected' if item.get('se