diff static/tpl/search-results.html @ 151:f32af0888382

Added support for ElasticSearch indexing: - More configurable setup for wiki providers (SCM, indexing, etc.). - Lazy importing of provider specific packages. - Nicer search results.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 16 Dec 2013 20:59:42 -0800
parents 74eb145eb839
children
line wrap: on
line diff
--- a/static/tpl/search-results.html	Sat Dec 14 21:29:22 2013 -0800
+++ b/static/tpl/search-results.html	Mon Dec 16 20:59:42 2013 -0800
@@ -11,7 +11,7 @@
             {{#each hits}}
             <li>
             <h3><a href="{{get_read_url url}}">{{title}}</a></h3>
-            <div class="highlighted"><pre><code>{{{content_highlights}}}</code></pre></div>
+            <div class="highlighted">{{{text}}}</div>
             </li>
             {{/each}}
         </ul>