diff options
| author | Mitja Felicijan <m@mitjafelicijan.com> | 2023-06-29 18:40:17 +0200 |
|---|---|---|
| committer | Mitja Felicijan <m@mitjafelicijan.com> | 2023-06-29 18:40:17 +0200 |
| commit | 93d47662b2ce5a6dc4867687386c912e8cd13720 (patch) | |
| tree | a609e947843bdd297121fd49a9e16e3dea2a1fd4 /themes/simple/layouts/partials/navigation.html | |
| parent | 89f8bc803364ca52ca0dee1a429261b9f3d9ed0e (diff) | |
| download | mitjafelicijan.com-93d47662b2ce5a6dc4867687386c912e8cd13720.tar.gz | |
Added search option with lunr.js
Diffstat (limited to 'themes/simple/layouts/partials/navigation.html')
| -rw-r--r-- | themes/simple/layouts/partials/navigation.html | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/themes/simple/layouts/partials/navigation.html b/themes/simple/layouts/partials/navigation.html index da42679..b65fe35 100644 --- a/themes/simple/layouts/partials/navigation.html +++ b/themes/simple/layouts/partials/navigation.html | |||
| @@ -7,6 +7,14 @@ | |||
| 7 | <nav itemscope itemtype="http://schema.org/SiteNavigationElement" class="flex items-center gap-1" role="toolbar"> | 7 | <nav itemscope itemtype="http://schema.org/SiteNavigationElement" class="flex items-center gap-1" role="toolbar"> |
| 8 | <meta itemprop="name" content="Main Menu"> | 8 | <meta itemprop="name" content="Main Menu"> |
| 9 | 9 | ||
| 10 | <!-- Search button --> | ||
| 11 | <span class="search-button flex gap-1 items-center text-gray-500 bg-gray-100 hover:bg-gray-200 rounded px-2 py-1 text-xs cursor-pointer mr-2 hidden" onclick="showSearchModal()"> | ||
| 12 | <svg xmlns="http://www.w3.org/2000/svg" fill="none" viewBox="0 0 24 24" stroke-width="3" stroke="currentColor" class="w-4 h-4"> | ||
| 13 | <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" /> | ||
| 14 | </svg> | ||
| 15 | <span class="search-button-text uppercase font-bold"></span> | ||
| 16 | </span> | ||
| 17 | |||
| 10 | <a href="/notes.html" class="font-medium px-2 hover:bg-yellow-100">Notes</a> | 18 | <a href="/notes.html" class="font-medium px-2 hover:bg-yellow-100">Notes</a> |
| 11 | <a href="https://telegram.me/mitjafelicijan" target="_blank" rel="noopener nofollow" itemprop="url" class="font-medium px-2 hover:bg-yellow-100">Telegram</a> | 19 | <a href="https://telegram.me/mitjafelicijan" target="_blank" rel="noopener nofollow" itemprop="url" class="font-medium px-2 hover:bg-yellow-100">Telegram</a> |
| 12 | <a href="https://git.mitjafelicijan.com" target="_blank" rel="noopener nofollow" itemprop="url" class="font-medium px-2 hover:bg-yellow-100">Git</a> | 20 | <a href="https://git.mitjafelicijan.com" target="_blank" rel="noopener nofollow" itemprop="url" class="font-medium px-2 hover:bg-yellow-100">Git</a> |
