Fix word, search pages

This commit is contained in:
Elnu 2023-07-23 13:43:30 -07:00
parent 2b85099901
commit d929d50a7c
3 changed files with 5 additions and 5 deletions

View file

@ -1,7 +1,6 @@
{{ define "entryfull" }}
<div class="box">
<h3 lang="ja">
<a href="/word/{{ .Kanji }}">
{{- range .Furigana -}}
{{- if .Furigana -}}
<ruby>{{- .Kanji -}}<rp>(</rp><rt>{{- .Furigana -}}</rt><rp>)</rp></ruby>
@ -9,7 +8,6 @@
{{- .Kanji -}}
{{- end -}}
{{- end -}}
</a>
</h3>
{{- $count := len .Definitions -}}
{{ if eq $count 1 -}}

View file

@ -3,7 +3,7 @@
{{- define "value" }}{{ .Query }}{{- end -}}
{{- define "results" -}}
{{- template "entryfull" .Entry -}}
{{- template "search" . -}}
{{- end -}}
{{- template "index" . -}}