Mercurial > public > sg101
diff gpp/templates/search/search.html @ 222:a5fcf3d1b663
For #51; add forums to Haystack search.
author | Brian Neal <bgneal@gmail.com> |
---|---|
date | Sun, 06 Jun 2010 21:05:48 +0000 |
parents | 71fd8454688b |
children | 8a46843c258f |
line wrap: on
line diff
--- a/gpp/templates/search/search.html Sun Jun 06 20:19:10 2010 +0000 +++ b/gpp/templates/search/search.html Sun Jun 06 21:05:48 2010 +0000 @@ -19,7 +19,7 @@ <dl> {% for result in page.object_list %} <dt> - {{ result.verbose_name }}: <a href="{{ result.object.get_absolute_url }}">{{ result.object.search_title }}</a> • ({{ result.score }}) + {{ result.verbose_name }}: <a href="{{ result.object.get_absolute_url }}">{{ result.object.search_title }}</a> ({{ result.score }}) </dt> <dd> {% highlight result.object.search_summary with query css_class "highlight" max_length 200 %}