2024-05-20 08:23:27 -04:00
|
|
|
{{if .Results}}
|
2024-08-09 12:14:19 -04:00
|
|
|
{{range .Results}}
|
2024-09-07 15:59:15 -04:00
|
|
|
<a class="item tw-max-w-[80vw]" href="{{$.RepoLink}}/wiki/{{.Filename}}">
|
|
|
|
<b class="tw-block tw-mb-2 tw-whitespace-break-spaces">{{.Filename}}</b>
|
2024-08-09 12:14:19 -04:00
|
|
|
{{range .LineCodes}}
|
2024-09-07 15:59:15 -04:00
|
|
|
<p class="tw-my-0 tw-whitespace-break-spaces">{{.}}</p>
|
2024-08-09 12:14:19 -04:00
|
|
|
{{end}}
|
|
|
|
</a>
|
|
|
|
{{end}}
|
2024-05-20 08:23:27 -04:00
|
|
|
{{else}}
|
2024-08-09 12:14:19 -04:00
|
|
|
<div class="item muted">{{ctx.Locale.Tr "repo.wiki.no_search_results"}}</div>
|
2024-05-20 08:23:27 -04:00
|
|
|
{{end}}
|