Advertisement
Guest User

Untitled

a guest
Jul 8th, 2018
156
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
HTML 1.36 KB | None | 0 0
  1. <script type="text/html" id="tmpl-autocomplete-post-suggestion">
  2.   <a class="suggestion-link" href="{{ data.permalink }}" title="{{ data.post_title }}">
  3.     <# if ( data.images.thumbnail ) { #>
  4.       <img class="suggestion-post-thumbnail" src="{{ data.images.thumbnail.url }}" alt="{{ data.post_title }}">
  5.       <# } #>
  6.         <div class="suggestion-post-attributes">
  7.           <span class="suggestion-post-title">{{{ data._highlightResult.post_title.value }}}</span>
  8.           <# if ( data._snippetResult['content'] ) { #>
  9.             <span class="suggestion-post-content">{{{ data._snippetResult['content'].value }}}</span>
  10.             <# } #>
  11.         </div>
  12.   </a>
  13. </script>
  14.  
  15. <script type="text/html" id="tmpl-autocomplete-term-suggestion">
  16.   <a class="suggestion-link" href="{{ data.permalink }}" title="{{ data.name }}">
  17.     <svg viewBox="0 0 21 21" width="21" height="21">
  18.       <svg width="21" height="21" viewBox="0 0 21 21">
  19.         <path
  20.             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"
  21.             fill-rule="evenodd"></path>
  22.       </svg>
  23.     </svg>
  24.     <span class="suggestion-post-title">{{{ data._highlightResult.name.value }}}</span>
  25.   </a>
  26. </script>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement