FindTemplate.aspx |
|
---|---|
|
|
We need to include the EPiServer.Find namespace to access extension methods. |
|
Main area in which to show search results. |
|
Show the entered search query and number of hits |
|
Display each search hit utilizing existing CSS classes from the Alloy templates |
|
Display linked title for the search hit |
|
If an image exists and the editor has specified that images should be shown by specifying a height for them we show it and let the browser scale the width relative to the height. In a real scenario we should use an image scaling library. |
|
Show the excerpt text. As it may contain HTML tags for highlighting we don't HTML encode it. |
|
Display paging controls. |
|
Link to the previous paging page. |
|
Display links for each specific paging page. |
|
Link to the next paging page |
|
End of search results area. |
|
Sidebar in which facets/filter are shown. |
|
Link for clearing section filter. |
|
Display number of hits per section with link for filtering by section. |
|
End of sidebar. |
|