generated from ElnuDev/go-project
Better part of speech display
This commit is contained in:
parent
8421aca007
commit
33ecd1a539
4 changed files with 86 additions and 14 deletions
|
@ -1,3 +1,3 @@
|
|||
{{- define "definition" -}}
|
||||
{{ if .PartOfSpeech }}<small><chip>{{ .PartOfSpeech }}</chip></small><br>{{ end }}{{ highlight .Definition -}}
|
||||
{{ if .PartOfSpeech }}<small>{{ range .PartOfSpeech }}<chip class="{{ .Type }}">{{ .Description }}</chip> {{ end }}</small><br>{{ end }}{{ highlight .Definition -}}
|
||||
{{ end }}
|
Reference in a new issue