em>
      </h4>
    </li>
    %endfor
  </ul>
</div>
</%def>

<%def name="render_doc(result)">
<div class="code-list">
  %for source, highlight in result:
  <div class="code-list-item public">
    <a href="/people/${source['author']}">
      <% avatar = User(source['author']).avatar_url %>
      <img class="avatar" height="28" width="28" src="${avatar}"/>
    </a>
    <span class="language">
      %if source['type'] == 'docs':
          Doc
      %else:
          Gist
      %endif
    </span>
    <p class="