kwin commented on code in PR #133: URL: https://github.com/apache/sling-site/pull/133#discussion_r1340266334
########## src/main/jbake/templates/layout/main.tpl: ########## @@ -24,7 +24,7 @@ html(lang:'en'){ if( content ) { if(content.title) { - h1(class:"title") { + h1(class:"title","data-pagefind-body":true) { Review Comment: Wouldn't this restrict indexing to this title only per page(https://pagefind.app/docs/indexing/#limiting-what-sections-of-a-page-are-indexed)/. What about increasing the ranking with data-pagefind-weight="10" (or "9") for this particular h1 and still index the rest of the body? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: dev-unsubscr...@sling.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org