Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <script type="text/html" id="tmpl-autocomplete-post-suggestion">
- <a class="suggestion-link" href="{{ data.permalink }}" title="{{ data.post_title }}">
- <# if ( data.images.thumbnail ) { #>
- <img class="suggestion-post-thumbnail" src="{{ data.images.thumbnail.url }}" alt="{{ data.post_title }}">
- <# } #>
- <div class="suggestion-post-attributes">
- <span class="suggestion-post-title">{{{ data._highlightResult.post_title.value }}}</span>
- <# if ( data._snippetResult['content'] ) { #>
- <span class="suggestion-post-content">{{{ data._snippetResult['content'].value }}}</span>
- <# } #>
- </div>
- </a>
- </script>
- <script type="text/html" id="tmpl-autocomplete-term-suggestion">
- <a class="suggestion-link" href="{{ data.permalink }}" title="{{ data.name }}">
- <svg viewBox="0 0 21 21" width="21" height="21">
- <svg width="21" height="21" viewBox="0 0 21 21">
- <path
- d="M4.662 8.72l-1.23 1.23c-.682.682-.68 1.792.004 2.477l5.135 5.135c.7.693 1.8.688 2.48.005l1.23-1.23 5.35-5.346c.31-.31.54-.92.51-1.36l-.32-4.29c-.09-1.09-1.05-2.06-2.15-2.14l-4.3-.33c-.43-.03-1.05.2-1.36.51l-.79.8-2.27 2.28-2.28 2.27zm9.826-.98c.69 0 1.25-.56 1.25-1.25s-.56-1.25-1.25-1.25-1.25.56-1.25 1.25.56 1.25 1.25 1.25z"
- fill-rule="evenodd"></path>
- </svg>
- </svg>
- <span class="suggestion-post-title">{{{ data._highlightResult.name.value }}}</span>
- </a>
- </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement