X-Git-Url: https://git.cweiske.de/phinde.git/blobdiff_plain/d6c817be8dfb9d41ea3f19cecd90619cde97209d..f98e891b454e5677bdf61f476e366b01af713b50:/data/templates/opensearch.htm diff --git a/data/templates/opensearch.htm b/data/templates/opensearch.htm index a1000f1..6565516 100644 --- a/data/templates/opensearch.htm +++ b/data/templates/opensearch.htm @@ -1,19 +1,34 @@ - - "{{query}}" search results + "{{query}}" search results + {% set fullUrls = pager.getFullUrls() %} + {% if fullUrls.first %} + + {% endif %} + {% if fullUrls.prev %} + + {% endif %} + {% if fullUrls.next %} + + {% endif %} + {% if fullUrls.last %} + + {% endif %} + {{"now"|date("c")}} {{fullUrl}} {{hitcount}} + 10 {% for hit in hits %} {% set doc = hit._source %} {{doc.title}} {{doc.url}} - {% if doc.modate %} - {{doc.modate|date('c')}} + {% if doc.status.modate %} + {{doc.status.modate|date('c')}} {% endif %} {{doc.htmlText|striptags}}