forked from dict/alar.ink
First commit.
This commit is contained in:
13
glossary-words.html
Normal file
13
glossary-words.html
Normal file
@@ -0,0 +1,13 @@
|
||||
{{ define "glossary-words" }}
|
||||
{{ $g := .Data.Glossary }}
|
||||
{{ if not $g.Words }}
|
||||
<h2>{{ $.L.T "public.noResultsTitle" }}</h2>
|
||||
<p>{{ $.L.T "public.noResults" }}</p>
|
||||
{{ else }}
|
||||
<ul class="noul words">
|
||||
{{ range $i, $w := $g.Words }}
|
||||
<li><a href="{{ $.Consts.RootURL }}/dictionary/{{ UnicodeURL $g.FromLang }}/{{ UnicodeURL $g.ToLang }}/{{ UnicodeURL (index $w.Content 0) }}">{{ $w.Content | join ", " }}</a></li>
|
||||
{{ end }}
|
||||
</ul>
|
||||
{{ end }}
|
||||
{{ end }}
|
||||
Reference in New Issue
Block a user