feat: add site search
This commit is contained in:
parent
dd98b01bbd
commit
74699d618c
8 changed files with 129 additions and 32 deletions
7
src/_includes/icons/search.liquid
Normal file
7
src/_includes/icons/search.liquid
Normal file
|
@ -0,0 +1,7 @@
|
|||
<a href="/search" title="Search posts">
|
||||
<svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="1.5" stroke="currentColor"
|
||||
class="inline w-6 h-6 outline-current text-gray-700 hover:text-purple-500 dark:text-gray-200 dark:hover:text-purple-500{% if page.url == '/search/' %} active{% endif %}">
|
||||
<path stroke-linecap="round" stroke-linejoin="round"
|
||||
d="M21 21l-5.197-5.197m0 0A7.5 7.5 0 105.196 5.196a7.5 7.5 0 0010.607 10.607z"/>
|
||||
</svg>
|
||||
</a>
|
Reference in a new issue