<!DOCTYPE html>
<html>
<head>
    <meta charset="UTF-8">
    <title>Marginalia Search - {{query}}</title>

    <link rel="stylesheet" href="/style-new.css" />
    <link rel="search" type="application/opensearchdescription+xml" href="/opensearch.xml" title="Marginalia">
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <meta name="robots" content="noindex" />
</head>
<body>

{{>search/parts/search-header}}

<article>
    {{>search/parts/search-form}}

<section class="cards">
  {{#unless entries}}
    <div class="card problems">
        <h2>No Results</h2>
        <div class="description">No definitions were found for that word</div>
    </div>
  {{/unless}}

  {{#each entries}}
  <div class="card definition">
    <h2>{{type}} - {{word}}</h2>
    <div class="description">{{definition}}</div>
  </div>
  {{/each}}

  {{#if entries}}
  <div class="card problem">
    <h2>Legal</h2>
    <p class="description">
      This data is derived from <a href="https://en.wiktionary.org/">wiktionary</a>,
      available under GFDL and CC BY-SA 3.0. <a href="https://dumps.wikimedia.org/legal.html">More Information</a>.
    </p>
  </div>
  {{/if}}
</section>

</article>

{{>search/parts/search-footer}}
</body>
