![]()
Cannot retrieve contributors at this time
| <div id="top-sites-results" class="col-md-4"> | |
| {{#with aggregations}} | |
| {{#each top_sites.buckets}} | |
| <h4 class="results-heading">{{key}} ({{doc_count}})</h4> | |
| <div class="row"> | |
| {{# each top_site_hits.hits.hits}} | |
| <div class="col-lg-12 text-center"> | |
| {{#with _source}} | |
| {{#if image_url}} | |
| <img class="img-circle" src="{{image_url}}" alt="{{title}}" style="width: 120px; height: 120px;"> | |
| {{else}} | |
| <img class="img-circle" src="data:image/gif;base64,R0lGODlhAQABAIAAAHd3dwAAACH5BAAAAAAALAAAAAABAAEAAAICRAEAOw==" alt="{{title}}" style="width: 120px; height: 120px;"> | |
| {{/if}} | |
| <h4>{{title}}</h4> | |
| <p><small class="text-muted">{{truncate (default ../highlight.body body) 200 '...'}}</small></p> | |
| <p><a class="btn btn-default" href="{{url}}" role="button">View details »</a></p> | |
| {{/with}} | |
| </div> | |
| {{/each}} | |
| </div> | |
| {{/each}} | |
| </div> | |
| {{/with}} | |
| <div id="top-hits-results" class="col-md-8"> | |
| {{#with hits}} | |
| {{#if total}} | |
| <h3 class="results-heading">All Sites ({{total}})</h3> | |
| <ul class="items"> | |
| {{#each hits}} | |
| <li class="item"> | |
| {{#with _source}} | |
| <h3 class="postItem-title"> | |
| <a href="{{url}}" title="{{title}}">{{title}}</a> | |
| <small>- {{domain _source.url}}</small> | |
| </h3> | |
| <small class="text-muted"><strong>{{timeago lastModified}}</strong></small> | |
| <small class="text-muted">{{truncate (default ../highlight.body body) 200 '...'}}</small> | |
| {{/with}} | |
| </li> | |
| {{/each}} | |
| </ul> | |
| {{/if}} | |
| {{/with}} | |
| </div> |