|
1 | 1 | {{ define "main" }}
|
2 | 2 |
|
3 |
| -<div class="row flex-xl-nowrap"> |
| 3 | +<div class="row flex-xl-nowrap" id="search-v1"> |
4 | 4 | <main class="col-md-10 content" role="main">
|
5 | 5 | <div class="container"><h1>{{ .Title}}</h1></div>
|
6 | 6 |
|
7 |
| - <div id="search" class="CoveoSearchInterface" data-enable-history="true"> |
| 7 | + <div id="search" class="CoveoSearchInterface" data-enable-history="true" > |
8 | 8 | <div class="CoveoFolding"></div>
|
9 | 9 | <div class="CoveoAnalytics" data-search-hub="HUB_ES_Nginx_Docs_And_Org"></div>
|
10 | 10 | <div class="coveo-search-section" style="display: none;">
|
|
102 | 102 | </div>
|
103 | 103 | </div>
|
104 | 104 | </div>
|
| 105 | + </main> |
| 106 | +</div> |
| 107 | + |
| 108 | +<section class="main-layout" data-mf="true" style="display: none; margin-left: 2rem;" > |
| 109 | + <atomic-search-interface id="search-v2"> |
| 110 | + <atomic-search-layout> |
| 111 | + <!-- Search/Metadata Section --> |
| 112 | + <atomic-layout-section section="search"> |
| 113 | + <div class="atomic-full-summary-and-sort"> |
| 114 | + <atomic-query-summary></atomic-query-summary> |
| 115 | + <atomic-sort-dropdown> |
| 116 | + <atomic-sort-expression label="relevance" expression="relevancy"></atomic-sort-expression> |
| 117 | + <atomic-sort-expression label="most-recent" expression="date descending"></atomic-sort-expression> |
| 118 | + </atomic-sort-dropdown> |
| 119 | + </div> |
| 120 | + </atomic-layout-section> |
| 121 | + |
| 122 | + <!-- Facet Section --> |
| 123 | + <atomic-layout-section section="facets"> |
| 124 | + <atomic-search-box style="display: none;"> |
| 125 | + </atomic-search-box> |
| 126 | + <atomic-facet field="f5_product" label="Show by product"></atomic-facet> |
| 127 | + <atomic-refine-toggle></atomic-refine-toggle> |
| 128 | + </atomic-layout-section> |
| 129 | + |
| 130 | + <!-- Main Section --> |
| 131 | + <atomic-layout-section section="main"> |
| 132 | + <!-- Results --> |
| 133 | + <atomic-layout-section section="results"> |
| 134 | + <atomic-no-results></atomic-no-results> |
| 135 | + <atomic-result-list> |
| 136 | + <atomic-result-template> |
| 137 | + <template> |
| 138 | + <!-- Title --> |
| 139 | + <atomic-result-section-title> |
| 140 | + <div style="display: flex; align-items: center; justify-content: space-between;"> |
| 141 | + <atomic-result-link></atomic-result-link> |
| 142 | + <atomic-quickview></atomic-quickview> |
| 143 | + </div> |
| 144 | + </atomic-result-section-title> |
| 145 | + |
| 146 | + <!-- URL --> |
| 147 | + <atomic-result-section-title-metadata> |
| 148 | + <atomic-result-printable-uri></atomic-result-printable-uri> |
| 149 | + </atomic-result-section-title-metadata> |
| 150 | + |
| 151 | + <!-- Excerpt --> |
| 152 | + <atomic-result-section-excerpt> |
| 153 | + <atomic-result-text field="excerpt"></atomic-result-text> |
| 154 | + </atomic-result-section-excerpt> |
| 155 | + |
| 156 | + <!-- Date --> |
| 157 | + <atomic-result-section-bottom-metadata> |
| 158 | + Modification Date: <atomic-result-date format="MMM D, YYYY"></atomic-result-date> |
| 159 | + </atomic-result-section-bottom-metadata> |
| 160 | + </template> |
| 161 | + </atomic-result-template> |
| 162 | + </atomic-result-list> |
| 163 | + </atomic-layout-section> |
| 164 | + |
| 165 | + <!-- Pagination --> |
| 166 | + <atomic-layout-section section="pagination" style="margin-top: 2rem;"> |
| 167 | + <atomic-pager></atomic-pager> |
| 168 | + <atomic-results-per-page></atomic-results-per-page> |
| 169 | + </atomic-layout-section> |
| 170 | + </atomic-layout-section> |
| 171 | + </atomic-search-layout> |
| 172 | + </atomic-search-interface> |
| 173 | +</section> |
105 | 174 | {{ end }}
|
0 commit comments