X-Git-Url: https://git.cweiske.de/phinde.git/blobdiff_plain/226508cd8d3e8c147ad314a0de483e08be71c254..dda0b5ec6258b94fdd6cdec81eccba3f2b9513a0:/data/templates/search/hit.htm diff --git a/data/templates/search/hit.htm b/data/templates/search/hit.htm index 3d8f633..dababcb 100644 --- a/data/templates/search/hit.htm +++ b/data/templates/search/hit.htm @@ -1,11 +1,24 @@ {% set doc = hit._source %}
  • - {{doc.title}} - {% if doc.author.name %} - by {{doc.author.name}} - {% endif %} -
    {{doc.extra.cleanUrl}} - {% if doc.modate %} -
    Changed: {{doc.extra.day}} - {% endif %} + + {{doc.htmlTitle|raw}} + {% if doc.author.name %} + by + + {% if doc.author.url %} + {{doc.author.name}} + {% else %} + {{doc.author.name}} + {% endif %} + + {% endif %} + +
    {{ellipsis(doc.extra.cleanUrl, 60)}} + +
    + {% if doc.modate %} + {{doc.extra.day|date("Y-m-d")}} + {% endif %} + {{doc.htmlText|raw}} +