Make sure only the first line of the repository description is shown in search results
This commit is contained in:
parent
21aff5ef9d
commit
25d8b6ec02
1 changed files with 1 additions and 1 deletions
|
@ -25,7 +25,7 @@
|
||||||
<a href="{{ result.href }}">{{ result.namespace.name }}/{{ result.name }}</a>
|
<a href="{{ result.href }}">{{ result.namespace.name }}/{{ result.name }}</a>
|
||||||
</h4>
|
</h4>
|
||||||
<p class="description">
|
<p class="description">
|
||||||
<span class="markdown-view" content="result.description"></span>
|
<span class="markdown-view" content="result.description" first-line-only="true"></span>
|
||||||
</p>
|
</p>
|
||||||
<p class="result-info-bar">
|
<p class="result-info-bar">
|
||||||
Last Modified: <span am-time-ago="result.last_modified * 1000"></span>
|
Last Modified: <span am-time-ago="result.last_modified * 1000"></span>
|
||||||
|
|
Reference in a new issue