generated from ElnuDev/go-project
Add search highlighting
This commit is contained in:
parent
b20cdaf819
commit
3965b59893
3 changed files with 33 additions and 7 deletions
|
@ -1,3 +1,3 @@
|
|||
{{- define "definition" -}}
|
||||
{{ if .PartOfSpeech }}<small><chip>{{ .PartOfSpeech }}</chip></small><br>{{ end }}{{ .Definition -}}
|
||||
{{ if .PartOfSpeech }}<small><chip>{{ .PartOfSpeech }}</chip></small><br>{{ end }}{{ highlight .Definition -}}
|
||||
{{ end }}
|
Reference in a new issue