fix: pagefind should index the title

This commit is contained in:
Himadri Bhattacharjee
2025-10-15 18:55:50 +05:30
parent 9abc70c56d
commit e255261a2e

View File

@@ -1,12 +1,12 @@
{{ define "main" }}
<article class="post-single">
<article class="post-single" data-pagefind-body>
<header class="post-title">
<p>
<p data-pagefind-ignore>
{{ partial "description" . }}
</p>
<h1 data-pagefind-meta="title">{{ .Title }}</h1>
</header>
<section class="post-content" data-pagefind-body>{{ .Content }}</section>
<section class="post-content">{{ .Content }}</section>
</article>
<!-- Post Tags -->