search.html 718 B

123456789101112131415161718192021222324252627
  1. ---
  2. title: Search ...
  3. description: "Search in this site"
  4. layout: post
  5. permalink: /search/
  6. tipue_search_active: true
  7. exclude_from_search: true
  8. ---
  9. <form action="{{ page.url | relative_url }}">
  10. <div class="tipue_search_left">
  11. <img src="{{ "/assets/tipuesearch/search.png" | relative_url }}" class="tipue_search_icon">
  12. </div>
  13. <div class="tipue_search_right">
  14. <input type="text" name="q" id="tipue_search_input" pattern=".{3,}" title="At least 3 characters" placeholder="type to search ..." required>
  15. </div>
  16. <div style="clear: both;"></div>
  17. </form>
  18. <div id="tipue_search_content"></div>
  19. <script>
  20. $(document).ready(function() {
  21. $('#tipue_search_input').tipuesearch();
  22. });
  23. </script>