Explicitly add title to the indexed content
diff --git a/src/main/jbake/templates/layout/main.tpl b/src/main/jbake/templates/layout/main.tpl
index 2e64d1b..9b1c8bb 100644
--- a/src/main/jbake/templates/layout/main.tpl
+++ b/src/main/jbake/templates/layout/main.tpl
@@ -24,7 +24,7 @@
 
                     if( content ) {
                         if(content.title) {
-                            h1(class:"title","data-pagefind-body":true) {
+                            h1(class:"title") {
                                 yield "${ content.title }"
                             }
                         }
diff --git a/src/main/jbake/templates/page.tpl b/src/main/jbake/templates/page.tpl
index a165877..a2e465f 100644
--- a/src/main/jbake/templates/page.tpl
+++ b/src/main/jbake/templates/page.tpl
@@ -20,6 +20,10 @@
                     }
                 }
             }
+            // pagefind doesn't seem to index the title that it finds, include it here, invisible
+            div("data-pagefind-body":"true","data-pagefind-weight":"7.0","style":"display:none;") {
+                yield " - ( ${ content.title } )"
+            }
         },
         tags : contents {
             include template : 'tags-brick.tpl'