generated from ElnuDev/go-project
Improve definition readouts
This commit is contained in:
parent
b5b45cc4af
commit
b99ebc787d
4 changed files with 22 additions and 15 deletions
|
@ -1,3 +1,3 @@
|
|||
{{ define "definition" }}
|
||||
{{ if .PartOfSpeech }}<chip>{{ .PartOfSpeech }}</chip> {{ end }}{{ .Definition -}}
|
||||
{{- define "definition" -}}
|
||||
{{ if .PartOfSpeech }}<small><chip>{{ .PartOfSpeech }}</chip></small><br>{{ end }}{{ .Definition -}}
|
||||
{{ end }}
|
Reference in a new issue