<div>
  <h1>Search results</h1>
  <p id='result-count'>Searching for '{{data.pattern}}' found {{data.keywords|length}} keywords</p>
  <table id='keyword-table' class="table-striped table-hover" border=0 width=100%>
    <thead>
      <tr><th>Library/Resource</th><th>Keyword Name</th><th>Synopsis</th></tr>
    </thead>
    <tbody>
    {% for item in data.keywords %}
      <tr id='{{item.row_id}}'>
        <td>{{item.collection_name}}</td>
        <td><a href="{{item.url}}">{{item.name}}</a></td>
        {% if item.synopsis == "" %}
        <td valign="top"><small><i>no documentation available</i></small></td>
        {% else %}
        <td valign="top">{{item.synopsis}}</td>
        {% endif %}
      </tr>
    {% endfor %}
    </tbody>
  </table>
</div>
