1
0
mirror of https://github.com/osmarks/mycorrhiza.git synced 2024-10-30 03:36:16 +00:00

Title search: Results have indices instead of bullets now

This commit is contained in:
Timur Ismagilov 2022-04-24 15:42:10 +03:00
parent 57efc3e848
commit b581221445

View File

@ -5,13 +5,13 @@
<h1>{{block "search results for" .Query}}Search results for {{.}}{{end}}</h1> <h1>{{block "search results for" .Query}}Search results for {{.}}{{end}}</h1>
{{if len .Results}} {{if len .Results}}
<p>{{block "search desc" .}}Every hypha name has been compared with the query. Hyphae that have matched the query are listed below.{{end}}</p> <p>{{block "search desc" .}}Every hypha name has been compared with the query. Hyphae that have matched the query are listed below.{{end}}</p>
<ul class="title-search__results"> <ol class="title-search__results">
{{range .Results}} {{range .Results}}
<li class="title-search__entry"> <li class="title-search__entry">
<a class="title-search__link wikilink" href="/hypha/{{.}}">{{beautifulName .}}</a> <a class="title-search__link wikilink" href="/hypha/{{.}}">{{beautifulName .}}</a>
</li> </li>
{{end}} {{end}}
</ul> </ol>
{{else}} {{else}}
<p>{{block "search no results" .}}No results{{end}}</p> <p>{{block "search no results" .}}No results{{end}}</p>
{{end}} {{end}}