lected') else ''}" href="${item['url']}">
            % if item.get('selected'):
            <span class="octicon octicon-remove-close"></span>
            % else:
            <span class="count">${item['count']}</span>
            % endif
            ${item['term']}
          </a>
        </li>
        % endfor
      </ul>
      % endfor
    </div>
</%def>


<%def name="right_content(total, result)">
<div class="search-content">
  <div class="sort-bar">
    <form action="" method="get" data-pjax="" data-au