<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>{{title}}</title>
</head>
<body>
<h3>Resultsss from query:<br/><code>{{query}}</code></h3>
    <ul>
    {% for doc in documentslist %}
        <li><a href="./{{ doc['file'] }}">{{ doc['title'][0] }}</a>
       {{ doc['date'].year }}.{{ doc['date'].month }}.{{ doc['date'].day }}
        {{doc['creator'] | join(", ")}}
        </li>
    {% endfor %}
    </ul>
</body>
</html>