Skip to content

Commit baeadc1

Browse files
cjyabrahamTim Bannister
authored andcommitted
Increase weight of title in pagefind results
Signed-off-by: Chris Abraham <[email protected]>
1 parent 9d2317a commit baeadc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

layouts/partials/docs/content-page.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
{{ if not .page.Params.notitle }}
2-
<h1>{{ .page.Title }}</h1>
2+
<h1 data-pagefind-weight="10">{{ .page.Title }}</h1>
33
{{ $desc := .page.Description }}
44
{{ with .page.Params.description }}<div class="lead">{{ $desc | markdownify }}</div>{{ end }}
55
{{ end }}

0 commit comments

Comments
 (0)