Skip to content

Commit

Permalink
Merge pull request #17 from solo-io/keywords-search-index
Browse files Browse the repository at this point in the history
Add keywords to search index
  • Loading branch information
Nadine2016 committed Apr 17, 2024
2 parents 1da6a95 + 1447b01 commit 10f1326
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion layouts/partials/docs/footer/flexsearch.html
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,12 @@
{{ else -}}
description: {{ .Summary | htmlUnescape | plainify }},
{{ end -}}
content: {{ .Content | htmlUnescape | plainify }}
{{ $keywords := "" -}}
{{ with .Keywords -}}
{{ $keywords = delimit . ", " }}
{{ end -}}
content: "{{ $keywords }}"
// content: {{ .Content | htmlUnescape | plainify }}
}
);
{{ end -}}
Expand Down

0 comments on commit 10f1326

Please sign in to comment.