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/_default/notes.html | |
| parent | 89f8bc803364ca52ca0dee1a429261b9f3d9ed0e (diff) | |
| download | mitjafelicijan.com-93d47662b2ce5a6dc4867687386c912e8cd13720.tar.gz | |
Added search option with lunr.js
Diffstat (limited to 'themes/simple/layouts/_default/notes.html')
| -rw-r--r-- | themes/simple/layouts/_default/notes.html | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/themes/simple/layouts/_default/notes.html b/themes/simple/layouts/_default/notes.html index 27ac958..02560b0 100644 --- a/themes/simple/layouts/_default/notes.html +++ b/themes/simple/layouts/_default/notes.html | |||
| @@ -1,12 +1,15 @@ | |||
| 1 | {{ define "main" }} | 1 | {{ define "main" }} |
| 2 | <main role="main" class="container-blog mx-auto px-6 md:p-0"> | 2 | <main role="main" class="container-blog mx-auto px-6 md:p-0"> |
| 3 | 3 | ||
| 4 | <!-- Search modal and results --> | ||
| 5 | {{ partial "search.html" . }} | ||
| 6 | |||
| 4 | <section class="mb-6"> | 7 | <section class="mb-6"> |
| 5 | <h1 class="text-2xl font-bold mb-2">Notes, notes and notes</h1> | 8 | <h1 class="text-2xl font-bold mb-2">Notes, notes and notes</h1> |
| 6 | <p class="text-gray-600 italic"> | 9 | <p class="text-gray-600 italic"> |
| 7 | Notes about things I learn, things I do, things I want to remember, | 10 | Notes about things I learn, things I do, things I want to remember, |
| 8 | but never do. You can subscribe to this | 11 | but never do. You can subscribe to this |
| 9 | <a href="/notes.xml" class="underline hover:bg-yellow-100">RSS feed</a> | 12 | <a href="/notes/index.xml" class="underline hover:bg-yellow-100">RSS feed</a> |
| 10 | which contains only the notes without the blog posts. | 13 | which contains only the notes without the blog posts. |
| 11 | </p> | 14 | </p> |
| 12 | </section> | 15 | </section> |
